mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Fixed the config.m4 script to allow the cracklib extension to be properly built
as a shared module.
This commit is contained in:
parent
2bff935a4f
commit
adb1fa5a4c
@ -22,10 +22,12 @@ if test "$PHP_CRACK" != "no"; then
|
||||
AC_MSG_ERROR(Cannot find a cracklib header file)
|
||||
fi
|
||||
|
||||
PHP_ADD_INCLUDE($CRACK_INCLUDEDIR)
|
||||
PHP_ADD_LIBRARY_WITH_PATH(crack, $CRACK_LIBDIR)
|
||||
PHP_ADD_INCLUDE($CRACK_INCLUDEDIR)
|
||||
PHP_ADD_LIBRARY_WITH_PATH(crack, $CRACK_LIBDIR, CRACK_SHARED_LIBADD)
|
||||
|
||||
PHP_EXTENSION(crack, $ext_shared)
|
||||
|
||||
AC_DEFINE(HAVE_CRACK, 1, [ ])
|
||||
fi
|
||||
|
||||
PHP_SUBST(CRACK_SHARED_LIBADD)
|
||||
|
Loading…
Reference in New Issue
Block a user