summaryrefslogtreecommitdiff
path: root/ext/phar/phar.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-11-04 14:04:29 +0000
committerMarcus Boerger <helly@php.net>2008-11-04 14:04:29 +0000
commit6ca3ad3f41fd44b6f00adb9692d5503a33ecd290 (patch)
tree12d5fa1817c06d108420738b55cddd2c7bae3c62 /ext/phar/phar.c
parent582cdf9a279e70a3c9e88057f4c6c9a911e16592 (diff)
downloadphp-git-6ca3ad3f41fd44b6f00adb9692d5503a33ecd290.tar.gz
- MFH We only rely on hash if it is built-in
Diffstat (limited to 'ext/phar/phar.c')
-rw-r--r--ext/phar/phar.c2
1 files changed, 1 insertions, 1 deletions
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