mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
- Fix for bug #6263
This commit is contained in:
parent
5a7409ee1a
commit
45e9e3a9fe
@ -20,9 +20,10 @@ if test "$PHP_MCRYPT" != "no"; then
|
|||||||
AC_ADD_INCLUDE($MCRYPT_DIR/include)
|
AC_ADD_INCLUDE($MCRYPT_DIR/include)
|
||||||
PHP_SUBST(MCRYPT_SHARED_LIBADD)
|
PHP_SUBST(MCRYPT_SHARED_LIBADD)
|
||||||
old_LDFLAGS="$LDFLAGS"
|
old_LDFLAGS="$LDFLAGS"
|
||||||
|
old_LIBS=$LIBS
|
||||||
|
LIBS="-lmcrypt"
|
||||||
LDFLAGS="$ld_runpath_switch$MCRYPT_DIR/lib -L$MCRYPT_DIR/lib"
|
LDFLAGS="$ld_runpath_switch$MCRYPT_DIR/lib -L$MCRYPT_DIR/lib"
|
||||||
AC_CHECK_LIB(mcrypt, init_mcrypt)
|
AC_CHECK_LIB(mcrypt, init_mcrypt)
|
||||||
old_LIBS=$LIBS
|
|
||||||
LIBS="$LIBS -lltdl"
|
LIBS="$LIBS -lltdl"
|
||||||
AC_CHECK_LIB(mcrypt, mcrypt_module_open, [LIBS="$LIBS -lltdl"],[ ],)
|
AC_CHECK_LIB(mcrypt, mcrypt_module_open, [LIBS="$LIBS -lltdl"],[ ],)
|
||||||
LIBS=$old_LIBS
|
LIBS=$old_LIBS
|
||||||
|
Loading…
Reference in New Issue
Block a user