From 2fb7a2f0ef92360be1b2834a190904954104dc9e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 27 Nov 2016 16:34:56 +0200 Subject: Update to better support new instant client installation layout --- build/import/liboci/configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build') 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 -- cgit v1.1