From 6ca3ad3f41fd44b6f00adb9692d5503a33ecd290 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 4 Nov 2008 14:04:29 +0000 Subject: [PATCH] - MFH We only rely on hash if it is built-in --- ext/phar/phar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1