- MFH: detect _a or normal lib

This commit is contained in:
Pierre Joye 2008-08-04 21:39:44 +00:00
parent 22b62586c2
commit e31b2cbc0d

View File

@ -6,7 +6,7 @@ ARG_WITH("mcrypt", "mcrypt support", "no");
if (PHP_MCRYPT != "no") {
if (CHECK_HEADER_ADD_INCLUDE('mcrypt.h', 'CFLAGS_MCRYPT') &&
CHECK_LIB('libmcrypt.lib', 'mcrypt') &&
CHECK_LIB('libmcrypt_a.lib;libmcrypt.lib', 'mcrypt') &&
CHECK_LIB('Advapi32.lib', 'mcrypt')
) {
EXTENSION('mcrypt', 'mcrypt.c');