]> granicus.if.org Git - php/commitdiff
- MFH Add hash dependency at module source level
authorMarcus Boerger <helly@php.net>
Tue, 4 Nov 2008 13:33:15 +0000 (13:33 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 4 Nov 2008 13:33:15 +0000 (13:33 +0000)
ext/phar/phar.c

index 45c999a5af26dce9b83d16f286438a74831dde10..85f72236b88bd07bc2a88fff2fe84b9956f2976d 100644 (file)
@@ -3671,6 +3671,9 @@ static zend_module_dep phar_deps[] = {
        ZEND_MOD_OPTIONAL("openssl")
        ZEND_MOD_OPTIONAL("zlib")
        ZEND_MOD_OPTIONAL("standard")
+#if HAVE_HASH
+       ZEND_MOD_REQUIRED("hash")
+#endif
 #if HAVE_SPL
        ZEND_MOD_REQUIRED("spl")
 #endif