diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-29 14:06:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-29 14:06:08 +0200 |
commit | 5a80c12061902e18620a822bb336b3ab6ca36df7 (patch) | |
tree | f1161d65f846f814e650cdc888b950dd0290f521 /m4 | |
parent | c56597d22eb4ab16ea482b92b8a5ba0f079f890f (diff) |
Don't add -R option when searching for liboci
While this helps with the libodb-oracle, this still break when linking
tests/examples. The correct way to resolve this is for the user to add
the directory to LD_LIBRARY_PATH.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/liboci.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/liboci.m4 b/m4/liboci.m4 index 34023e1..e21b956 100644 --- a/m4/liboci.m4 +++ b/m4/liboci.m4 @@ -30,7 +30,7 @@ if test x"$oci_dir" != x; then # if test -d "$oci_dir/sdk/include"; then CPPFLAGS="$CPPFLAGS -I$oci_dir/sdk/include" - LDFLAGS="$LDFLAGS -L$oci_dir -R $oci_dir" + LDFLAGS="$LDFLAGS -L$oci_dir" LIBS="-lclntsh $LIBS" CXX_LIBTOOL_LINK_IFELSE( @@ -56,7 +56,7 @@ oci_found=yes fi elif test -d "$oci_dir/rdbms/public"; then CPPFLAGS="$CPPFLAGS -I$oci_dir/rdbms/public" - LDFLAGS="$LDFLAGS -L$oci_dir/lib -R $oci_dir/lib" + LDFLAGS="$LDFLAGS -L$oci_dir/lib" LIBS="-lclntsh $LIBS" fi fi @@ -92,7 +92,7 @@ if test x"$oci_found" = xno; then # if test x"$ORACLE_HOME" != x; then CPPFLAGS="$CPPFLAGS -I$ORACLE_HOME/rdbms/public" - LDFLAGS="$LDFLAGS -L$ORACLE_HOME/lib -R $ORACLE_HOME/lib" + LDFLAGS="$LDFLAGS -L$ORACLE_HOME/lib" LIBS="-lclntsh $LIBS" CXX_LIBTOOL_LINK_IFELSE( |