]> granicus.if.org Git - php/commitdiff
Add deferred libs to DLIBS instead of LIBS.
authorSascha Schumann <sas@php.net>
Thu, 4 Apr 2002 10:03:29 +0000 (10:03 +0000)
committerSascha Schumann <sas@php.net>
Thu, 4 Apr 2002 10:03:29 +0000 (10:03 +0000)
Noticed by: Jani Taskinen <sniper@iki.fi>

acinclude.m4

index 066ca1d77859c9ef5b9599848476ec044e1153f5..9ce7cbd7e5ff99f6e811c1a3ba1979e97d35d26c 100644 (file)
@@ -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