summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-07-05 22:42:29 +0200
committerBjörn Jacke <bj@sernet.de>2009-07-05 22:42:29 +0200
commit43887c8d718087beb5a963a7962608b141e132fe (patch)
treefe327e53e0ac184534f67132bb8dff6555f4c294
parent2540710b5eeb4a4ea2e0c0c7ba8ab7382f4236af (diff)
downloadsamba-43887c8d718087beb5a963a7962608b141e132fe.tar.gz
samba-43887c8d718087beb5a963a7962608b141e132fe.tar.bz2
samba-43887c8d718087beb5a963a7962608b141e132fe.zip
libreplace: update library search path variables
-rw-r--r--lib/replace/libreplace_ld.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/replace/libreplace_ld.m4 b/lib/replace/libreplace_ld.m4
index 90c5be6b4e..3982bbacc8 100644
--- a/lib/replace/libreplace_ld.m4
+++ b/lib/replace/libreplace_ld.m4
@@ -320,7 +320,7 @@ AC_DEFUN([AC_LIBREPLACE_RUNTIME_LIB_PATH_VAR],
LIB_PATH_VAR=LD_LIBRARY_PATH
;;
*aix*)
- LIB_PATH_VAR=LIB_PATH
+ LIB_PATH_VAR=LIBPATH
;;
*irix*)
LIB_PATH_VAR=LD_LIBRARY_PATH
@@ -328,6 +328,9 @@ AC_DEFUN([AC_LIBREPLACE_RUNTIME_LIB_PATH_VAR],
*darwin*)
LIB_PATH_VAR=DYLD_LIBRARY_PATH
;;
+ *)
+ LIB_PATH_VAR=LD_LIBRARY_PATH
+ ;;
esac
AC_SUBST(LIB_PATH_VAR)