From: Derick Rethans Date: Sun, 20 Aug 2000 17:39:44 +0000 (+0000) Subject: - Fix for bug #6263 X-Git-Tag: php-4.0.2RC1~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45e9e3a9feb7ae6321ce932916897aacd790709b;p=php - Fix for bug #6263 --- diff --git a/ext/mcrypt/config.m4 b/ext/mcrypt/config.m4 index 649817a76e..69cc91ff32 100644 --- a/ext/mcrypt/config.m4 +++ b/ext/mcrypt/config.m4 @@ -20,9 +20,10 @@ if test "$PHP_MCRYPT" != "no"; then AC_ADD_INCLUDE($MCRYPT_DIR/include) PHP_SUBST(MCRYPT_SHARED_LIBADD) old_LDFLAGS="$LDFLAGS" + old_LIBS=$LIBS + LIBS="-lmcrypt" LDFLAGS="$ld_runpath_switch$MCRYPT_DIR/lib -L$MCRYPT_DIR/lib" AC_CHECK_LIB(mcrypt, init_mcrypt) - old_LIBS=$LIBS LIBS="$LIBS -lltdl" AC_CHECK_LIB(mcrypt, mcrypt_module_open, [LIBS="$LIBS -lltdl"],[ ],) LIBS=$old_LIBS