Skip to content

Commit b79331c

Browse files
fedeliallalineadjzort
authored andcommitted
Makefile.PL: help to find linking libraries on Gentoo
On Gentoo we install oracle-instantclient libraries in /usr/lib64/oracle/client/lib64 on 64-bit systems and in /usr/lib/oracle/client/lib on 32-bit systems. This was done because in a 64-bit system with multilib, both 32-bit libraries (/usr/lib64/oracle/client/lib) and 64-bit libraries (/usr/lib64/oracle/client/lib64) were installed. For now, this specification is disabled because it is rare to have the same version of oracle instantclient for both 32-bit and 64-bit.
1 parent a02c0d9 commit b79331c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ elsif (($^O eq 'MSWin32') or ($^O =~ /cygwin/i)) {
374374
# --- UNIX Variants ---
375375

376376
elsif ($::opt_l || !defined $mkfile and # use -l to enable this direct-link approach
377-
@_=grep { m:/lib(cl(ie)?ntsh|oracle).\w+$:o } <$OH/lib/lib*>
377+
@_=grep { m:/lib(cl(ie)?ntsh|oracle).\w+$:o } <$OH/lib{,64}/lib*>
378378
) {
379379
# --- the simple modern way ---
380380
foreach(@_) { s:\Q$OH/lib/::g }

0 commit comments

Comments
 (0)