]> granicus.if.org Git - php/commitdiff
- MFH We only rely on hash if it is built-in
authorMarcus Boerger <helly@php.net>
Tue, 4 Nov 2008 14:04:29 +0000 (14:04 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 4 Nov 2008 14:04:29 +0000 (14:04 +0000)
ext/phar/phar.c

index 85f72236b88bd07bc2a88fff2fe84b9956f2976d..ff8b8b54336006edf9c149d9c2328e8e53ebd77a 100644 (file)
@@ -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