mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
phpstan fix
This commit is contained in:
parent
aa4d4db11f
commit
625a03e799
@ -266,7 +266,7 @@ class Extension
|
|||||||
{
|
{
|
||||||
// prepare configure args
|
// prepare configure args
|
||||||
shell()->cd($this->source_dir)
|
shell()->cd($this->source_dir)
|
||||||
->setEnv(['CFLAGS' => $this->builder->arch_c_flags])
|
->setEnv(['CFLAGS' => $this->builder->arch_c_flags ?? ''])
|
||||||
->execWithEnv(BUILD_BIN_PATH . '/phpize')
|
->execWithEnv(BUILD_BIN_PATH . '/phpize')
|
||||||
->execWithEnv('./configure ' . $this->getUnixConfigureArg() . ' --with-php-config=' . BUILD_BIN_PATH . '/php-config --enable-static --disable-shared')
|
->execWithEnv('./configure ' . $this->getUnixConfigureArg() . ' --with-php-config=' . BUILD_BIN_PATH . '/php-config --enable-static --disable-shared')
|
||||||
->execWithEnv('make clean')
|
->execWithEnv('make clean')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user