diff --git a/config/ext.json b/config/ext.json index 1332a2a0..b25b9c72 100644 --- a/config/ext.json +++ b/config/ext.json @@ -165,8 +165,9 @@ }, "mbregex": { "type": "builtin", - "lib-depends": [ - "onig" + "arg-type": "custom", + "ext-depends": [ + "mbstring" ] }, "mbstring": { diff --git a/src/SPC/builder/extension/mbregex.php b/src/SPC/builder/extension/mbregex.php index 48d15128..6a4d1457 100644 --- a/src/SPC/builder/extension/mbregex.php +++ b/src/SPC/builder/extension/mbregex.php @@ -14,4 +14,9 @@ class mbregex extends Extension { return 'mbstring'; } + + public function getConfigureArg(): string + { + return ''; + } }