diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-27 16:34:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-27 16:34:56 +0200 |
commit | 2fb7a2f0ef92360be1b2834a190904954104dc9e (patch) | |
tree | 0fdca776d10a58924ea526e9054eee7be11cabb5 /build/import/liboci/configure | |
parent | 4b4d181b27c1f920b2990fd2dac3c4e462a31bd5 (diff) |
Update to better support new instant client installation layout
Diffstat (limited to 'build/import/liboci/configure')
-rwxr-xr-x | build/import/liboci/configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/import/liboci/configure b/build/import/liboci/configure index c1308c9..10d2037 100755 --- a/build/import/liboci/configure +++ b/build/import/liboci/configure @@ -39,6 +39,13 @@ while [ -z "$liboci_include" ]; do elif [ -d "$liboci_root/rdbms/public" ]; then liboci_include="$liboci_root/rdbms/public" liboci_lib=`ls $liboci_root/lib/libclntsh.so 2>/dev/null` + elif [ -d "$liboci_root/include" ]; then + liboci_include="$liboci_root/include" + + liboci_lib=`ls $liboci_root/lib/libclntsh.so 2>/dev/null` + if [ -z "$liboci_lib" ]; then + liboci_lib=`ls $liboci_root/lib/libclntsh.so.* 2>/dev/null` + fi fi if [ -z "$liboci_include" ]; then |