summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-05 16:24:20 +0000
committerSascha Schumann <sas@php.net>1999-12-05 16:24:20 +0000
commit9417570dc1f31a0e3ddb9f6736a547c87ce7cfba (patch)
treeaa9cbe873888c673d6758efce2d2d2290496aa55 /acinclude.m4
parent70df2d74780e8e03d066ce682609a27ed426e9d6 (diff)
downloadphp-git-9417570dc1f31a0e3ddb9f6736a547c87ce7cfba.tar.gz
Prepend added libraries and separate LDFLAGS handling
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 6df68e5fdd..a8a5c68ad4 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -78,7 +78,7 @@ AC_DEFUN(AC_ADD_LIBPATH,[
if test "$1" != "/usr/lib"; then
AC_EXPAND_PATH($1, ai_p)
AC_PHP_ONCE(LIBPATH, $ai_p, [
- LIBS="$LIBS -L$ai_p"
+ LDFLAGS="$LDFLAGS -L$ai_p"
PHP_RPATHS="$PHP_RPATHS $ai_p"
])
fi
@@ -121,7 +121,7 @@ dnl add a library to the link line
dnl
AC_DEFUN(AC_ADD_LIBRARY,[
AC_PHP_ONCE(LIBRARY, $1, [
- LIBS="$LIBS -l$1"
+ LIBS="-l$1 $LIBS"
])
])