diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2007-12-16 17:14:11 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2007-12-16 17:14:11 +0000 |
commit | ec90d483313a4db5ef880d163a45e130c96bffea (patch) | |
tree | 480fe24585ee922a6fa6ed8920a849132636e838 /ext/exif | |
parent | 2027a1f16ad5e9ca69a2c4faae032f531185bf09 (diff) | |
download | php-git-ec90d483313a4db5ef880d163a45e130c96bffea.tar.gz |
Fixed bug #43606 (define missing depencies of the exif extension)
Diffstat (limited to 'ext/exif')
-rw-r--r-- | ext/exif/exif.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c index d2c24ce2db..adc7f57914 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), |