mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 21:34:53 +08:00
test fix 2?
This commit is contained in:
parent
aff9ff20e8
commit
efb1ff5a93
@ -45,7 +45,7 @@ class GlobalEnvManager
|
||||
if (PHP_OS_FAMILY === 'Linux') {
|
||||
$arch = getenv('GNU_ARCH');
|
||||
|
||||
if (str_contains(getenv('CC'), 'zig')) {
|
||||
if (str_contains((string) getenv('CC'), 'zig')) {
|
||||
self::putenv('SPC_LINUX_DEFAULT_CC=zig-cc');
|
||||
self::putenv('SPC_LINUX_DEFAULT_CXX=zig-c++');
|
||||
self::putenv('SPC_LINUX_DEFAULT_AR=ar');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user