From: Sascha Schumann Date: Thu, 4 Apr 2002 10:03:29 +0000 (+0000) Subject: Add deferred libs to DLIBS instead of LIBS. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~893 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e50a42f907bf235d403c6979cef20ab87e76e023;p=php Add deferred libs to DLIBS instead of LIBS. Noticed by: Jani Taskinen --- 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