From: Marcus Boerger Date: Tue, 4 Nov 2008 14:04:29 +0000 (+0000) Subject: - MFH We only rely on hash if it is built-in X-Git-Tag: BEFORE_NS_RULES_CHANGE~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ca3ad3f41fd44b6f00adb9692d5503a33ecd290;p=php - MFH We only rely on hash if it is built-in --- diff --git a/ext/phar/phar.c b/ext/phar/phar.c index 85f72236b8..ff8b8b5433 100644 --- a/ext/phar/phar.c +++ b/ext/phar/phar.c @@ -3671,7 +3671,7 @@ static zend_module_dep phar_deps[] = { ZEND_MOD_OPTIONAL("openssl") ZEND_MOD_OPTIONAL("zlib") ZEND_MOD_OPTIONAL("standard") -#if HAVE_HASH +#if defined(HAVE_HASH) && !defined(COMPILE_DL_HASH) ZEND_MOD_REQUIRED("hash") #endif #if HAVE_SPL