mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-05 07:45:39 +08:00
phpstan fix
This commit is contained in:
@@ -266,7 +266,7 @@ class Extension
|
||||
{
|
||||
// prepare configure args
|
||||
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('./configure ' . $this->getUnixConfigureArg() . ' --with-php-config=' . BUILD_BIN_PATH . '/php-config --enable-static --disable-shared')
|
||||
->execWithEnv('make clean')
|
||||
|
||||
Reference in New Issue
Block a user