aboutsummaryrefslogtreecommitdiff
path: root/build/import/liboci/configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-27 16:34:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-27 16:34:56 +0200
commit2fb7a2f0ef92360be1b2834a190904954104dc9e (patch)
tree0fdca776d10a58924ea526e9054eee7be11cabb5 /build/import/liboci/configure
parent4b4d181b27c1f920b2990fd2dac3c4e462a31bd5 (diff)
Update to better support new instant client installation layout
Diffstat (limited to 'build/import/liboci/configure')
-rwxr-xr-xbuild/import/liboci/configure7
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