DBD-Oracle
DBD-Oracle copied to clipboard
Makefile.PL: help ora_libdir find ORACLE_HOME on Gentoo
On Gentoo, for better or worse, we install oracle-instantclient on 64-bit systems to /usr/lib64/oracle/client/ with:
- /usr/lib64/oracle/client/lib for 32-bit libraries (multilib)
- /usr/lib64/oracle/client/lib64 for native 64-bit libraries
Adapt the logic to handle lib64 if it exists and we're using a 64-bit Perl.
(And fix some whitespace while at it.)
I don't have a Gentoo handy but LGTM otherwise.