Add missing pcre dependency definition to zip extension (#14404)

The zip extension also requires the pcre extension.
This commit is contained in:
Peter Kokot 2024-06-01 18:15:18 +02:00 committed by GitHub
parent 25a5146180
commit dedf8fbffd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View file

@ -1146,9 +1146,15 @@ static PHP_MSHUTDOWN_FUNCTION(zip);
static PHP_MINFO_FUNCTION(zip);
/* }}} */
static const zend_module_dep zip_deps[] = {
ZEND_MOD_REQUIRED("pcre")
ZEND_MOD_END
};
/* {{{ zip_module_entry */
zend_module_entry zip_module_entry = {
STANDARD_MODULE_HEADER,
STANDARD_MODULE_HEADER_EX, NULL,
zip_deps,
"zip",
ext_functions,
PHP_MINIT(zip),