mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
fix mbstring support
This commit is contained in:
parent
3daafa0b0e
commit
c93a4e843f
@ -182,6 +182,10 @@ class Extension
|
|||||||
$arg .= ' --with-event-openssl --with-openssl-dir="' . BUILD_ROOT_PATH . '"';
|
$arg .= ' --with-event-openssl --with-openssl-dir="' . BUILD_ROOT_PATH . '"';
|
||||||
}
|
}
|
||||||
break;*/
|
break;*/
|
||||||
|
case 'mbstring':
|
||||||
|
$arg = ' --disable-mbregex ONIG_CFLAGS=-I"' . BUILD_ROOT_PATH . '" ' .
|
||||||
|
'ONIG_LIBS="' . $this->getLibFilesString() . '" ';
|
||||||
|
break;
|
||||||
case 'gmp':
|
case 'gmp':
|
||||||
$arg = ' --with-gmp="' . BUILD_ROOT_PATH . '" ';
|
$arg = ' --with-gmp="' . BUILD_ROOT_PATH . '" ';
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -256,7 +256,7 @@ class MacOSBuilder extends BuilderBase
|
|||||||
'cd ' . SOURCE_PATH . '/php-src && ' .
|
'cd ' . SOURCE_PATH . '/php-src && ' .
|
||||||
"make -j{$this->concurrency} " .
|
"make -j{$this->concurrency} " .
|
||||||
'EXTRA_CFLAGS="-g -Os -fno-ident" ' . // 生成调试信息、优化编译后的尺寸、禁用标识符(如变量、函数名)缩短
|
'EXTRA_CFLAGS="-g -Os -fno-ident" ' . // 生成调试信息、优化编译后的尺寸、禁用标识符(如变量、函数名)缩短
|
||||||
"EXTRA_LIBS=\"{$extra_libs} -lresolv -lsqlite3\" " .
|
"EXTRA_LIBS=\"{$extra_libs} -lresolv\" " .
|
||||||
// TODO: comment things
|
// TODO: comment things
|
||||||
'cli &&' .
|
'cli &&' .
|
||||||
'dsymutil -f sapi/cli/php &&' .
|
'dsymutil -f sapi/cli/php &&' .
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user