fix mbstring support

This commit is contained in:
crazywhalecc
2023-03-19 00:15:13 +08:00
parent 3daafa0b0e
commit c93a4e843f
2 changed files with 5 additions and 1 deletions

View File

@@ -182,6 +182,10 @@ class Extension
$arg .= ' --with-event-openssl --with-openssl-dir="' . BUILD_ROOT_PATH . '"';
}
break;*/
case 'mbstring':
$arg = ' --disable-mbregex ONIG_CFLAGS=-I"' . BUILD_ROOT_PATH . '" ' .
'ONIG_LIBS="' . $this->getLibFilesString() . '" ';
break;
case 'gmp':
$arg = ' --with-gmp="' . BUILD_ROOT_PATH . '" ';
break;