fixes for more configure args

This commit is contained in:
DubbleClick
2025-05-21 14:10:56 +07:00
parent 495e868a71
commit 7698ceb108
12 changed files with 86 additions and 20 deletions

View File

@@ -12,7 +12,7 @@ class mbstring extends Extension
{
public function getConfigureArg(bool $shared = false): string
{
$arg = '--enable-mbstring';
$arg = '--enable-mbstring' . ($shared ? '=shared' : '');
if ($this->builder->getExt('mbregex') === null) {
$arg .= ' --disable-mbregex';
} else {