Skip to content

Commit

Permalink
Fix GH-8685 mbstring requires pcre
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Jun 3, 2022
1 parent 813d942 commit 2eb2f9d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ext/mbstring/mbstring.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
STANDARD_MODULE_HEADER,
STANDARD_MODULE_HEADER_EX,
NULL,
mbstring_deps,
"mbstring",
ext_functions,
PHP_MINIT(mbstring),
Expand Down

0 comments on commit 2eb2f9d

Please sign in to comment.