From: Ilia Alshanetsky Date: Sun, 16 Dec 2007 17:15:05 +0000 (+0000) Subject: MFB: Fixed bug #43606 (define missing depencies of the exif extension) X-Git-Tag: RELEASE_2_0_0a1~1156 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6711417e88e0321c0f250668465af0f47f2170d4;p=php MFB: Fixed bug #43606 (define missing depencies of the exif extension) --- diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 1a9b3fdca6..b28b389eff 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -241,12 +241,21 @@ PHP_MSHUTDOWN_FUNCTION(exif) } /* }}} */ +/* {{{ exif dependencies */ +static const zend_module_dep exif_module_deps[] = { + ZEND_MOD_REQUIRED("standard") + #if EXIF_USE_MBSTRING + ZEND_MOD_REQUIRED("mbstring") + #endif + {NULL, NULL, NULL} +}; +/* }}} */ + /* {{{ exif_module_entry */ zend_module_entry exif_module_entry = { -#if ZEND_MODULE_API_NO >= 20010901 - STANDARD_MODULE_HEADER, -#endif + STANDARD_MODULE_HEADER_EX, NULL, + exif_module_deps, "exif", exif_functions, PHP_MINIT(exif),