Fix GH-8685 mbstring requires pcre

This commit is contained in:
Remi Collet 2022-06-02 08:05:22 +02:00 committed by Remi Collet
parent 813d942bac
commit 2eb2f9d74f
No known key found for this signature in database
GPG key ID: DC9FF8D3EE5AF27F

View file

@ -161,9 +161,18 @@ static const php_mb_nls_ident_list php_mb_default_identify_list[] = {
/* }}} */ /* }}} */
/* {{{ mbstring_deps[] */
static const zend_module_dep mbstring_deps[] = {
ZEND_MOD_REQUIRED("pcre")
ZEND_MOD_END
};
/* }}} */
/* {{{ zend_module_entry mbstring_module_entry */ /* {{{ zend_module_entry mbstring_module_entry */
zend_module_entry mbstring_module_entry = { zend_module_entry mbstring_module_entry = {
STANDARD_MODULE_HEADER, STANDARD_MODULE_HEADER_EX,
NULL,
mbstring_deps,
"mbstring", "mbstring",
ext_functions, ext_functions,
PHP_MINIT(mbstring), PHP_MINIT(mbstring),