summaryrefslogtreecommitdiff
path: root/ext/mcrypt
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2006-12-23 17:58:47 +0000
committerDerick Rethans <derick@php.net>2006-12-23 17:58:47 +0000
commit7180422fdca85933594d58372271fe2ef7af62a9 (patch)
treeb73154e85535b931b3a359000e2f74eecc0385ad /ext/mcrypt
parent46b25155d230c95282d69fce512c5a719e39365f (diff)
downloadphp-git-7180422fdca85933594d58372271fe2ef7af62a9.tar.gz
- Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
--with-libdir).
Diffstat (limited to 'ext/mcrypt')
-rw-r--r--ext/mcrypt/config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mcrypt/config.m4 b/ext/mcrypt/config.m4
index 5dc218ed08..683b260ac7 100644
--- a/ext/mcrypt/config.m4
+++ b/ext/mcrypt/config.m4
@@ -45,13 +45,13 @@ if test "$PHP_MCRYPT" != "no"; then
],[
AC_MSG_ERROR([Sorry, I was not able to diagnose which libmcrypt version you have installed.])
],[
- -L$MCRYPT_DIR/lib
+ -L$MCRYPT_DIR/$PHP_LIBDIR
])
],[
- -L$MCRYPT_DIR/lib -lltdl
+ -L$MCRYPT_DIR/$PHP_LIBDIR -lltdl
])
- PHP_ADD_LIBRARY_WITH_PATH(mcrypt, $MCRYPT_DIR/lib, MCRYPT_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(mcrypt, $MCRYPT_DIR/$PHP_LIBDIR, MCRYPT_SHARED_LIBADD)
PHP_ADD_INCLUDE($MCRYPT_DIR/include)
PHP_SUBST(MCRYPT_SHARED_LIBADD)