add some tests and iconv support

This commit is contained in:
crazywhalecc
2023-04-03 21:27:50 +08:00
parent 1731cc1202
commit 29e0269588
6 changed files with 70 additions and 7 deletions

View File

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