summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-04-04 10:03:29 +0000
committerSascha Schumann <sas@php.net>2002-04-04 10:03:29 +0000
commite50a42f907bf235d403c6979cef20ab87e76e023 (patch)
tree6a742f01db28f5033316261955cc54ae72f94c4c
parentc02a5dcc1d33735c9d676b3cc057b9383bdd6168 (diff)
downloadphp-git-e50a42f907bf235d403c6979cef20ab87e76e023.tar.gz
Add deferred libs to DLIBS instead of LIBS.
Noticed by: Jani Taskinen <sniper@iki.fi>
-rw-r--r--acinclude.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 066ca1d778..9ce7cbd7e5 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -924,7 +924,7 @@ AC_DEFUN(PHP_ADD_LIBRARY_SKELETON,[
case $1 in
c|c_r|pthread*) ;;
*) ifelse($3,,[
- PHP_X_ADD_LIBRARY($1,$2,LIBS)
+ PHP_X_ADD_LIBRARY($1,$2,$5)
],[
if test "$ext_shared" = "yes"; then
PHP_X_ADD_LIBRARY($1,$2,$3)
@@ -942,7 +942,7 @@ dnl
dnl add a library to the link line
dnl
AC_DEFUN(PHP_ADD_LIBRARY,[
- PHP_ADD_LIBRARY_SKELETON([$1],[$2],[$3],[PHP_ADD_LIBRARY])
+ PHP_ADD_LIBRARY_SKELETON([$1],[$2],[$3],[PHP_ADD_LIBRARY],[LIBS])
])
dnl
@@ -951,9 +951,9 @@ dnl
dnl add a library to the link line (deferred)
dnl
AC_DEFUN(PHP_ADD_LIBRARY_DEFER,[
- PHP_ADD_LIBRARY_SKELETON([$1],[$2],[$3],[PHP_ADD_LIBRARY_DEFER])
+ PHP_ADD_LIBRARY_SKELETON([$1],[$2],[$3],[PHP_ADD_LIBRARY_DEFER],[DLIBS])
])
-
+
dnl
dnl PHP_ADD_LIBRARY_WITH_PATH(library, path[, shared-libadd])
dnl