fix readline

This commit is contained in:
DubbleClick
2025-05-20 20:00:37 +07:00
parent 1e50dac5a6
commit 93c6928624
4 changed files with 54 additions and 2 deletions

View File

@@ -20,4 +20,15 @@ class mbstring extends Extension
}
return $arg;
}
public function getUnixConfigureArg(bool $shared = false): string
{
$arg = '--enable-mbstring';
if ($this->builder->getExt('mbregex') === null) {
$arg .= ' --disable-mbregex';
} else {
$arg .= ' --enable-mbregex';
}
return $arg;
}
}