From: foobar Date: Mon, 24 Jun 2002 11:37:19 +0000 (+0000) Subject: Fix the shared build properly. X-Git-Tag: php-4.2.3RC1~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b891ee93614c651d6bf318b99d9f66ade97e603a;p=php Fix the shared build properly. --- diff --git a/ext/mcal/config.m4 b/ext/mcal/config.m4 index 58e1b06035..be6502e609 100644 --- a/ext/mcal/config.m4 +++ b/ext/mcal/config.m4 @@ -42,7 +42,8 @@ if test "$PHP_MCAL" != "no"; then fi PHP_ADD_INCLUDE($MCAL_INCLUDE) - PHP_ADD_LIBRARY_WITH_PATH(mcal, $MCAL_LIBRARY, MCAL_SHARED_LIBADD) + PHP_ADD_LIBPATH($MCAL_LIBRARY,MCAL_SHARED_LIBADD) + PHP_ADD_LIBRARY_DEFER(mcal,[],MCAL_SHARED_LIBADD) PHP_SUBST(MCAL_SHARED_LIBADD) AC_DEFINE(HAVE_MCAL,1,[ ]) PHP_EXTENSION(mcal,$ext_shared)