mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
fix tests
This commit is contained in:
parent
78666ff7de
commit
3940f032af
@ -107,6 +107,9 @@ class GlobalEnvManager
|
||||
self::putenv("{$k}={$v}");
|
||||
}
|
||||
}
|
||||
if (getenv('SPC_LIBC_LINKAGE') === 'static' && getenv('SPC_LIBC') === 'glibc') {
|
||||
self::putenv('SPC_LIBC_LINKAGE_FLAG=');
|
||||
}
|
||||
if (str_contains((string) getenv('CC'), 'zig') || str_contains((string) getenv('CXX'), 'zig')) {
|
||||
$zigEnv = Zig::getEnvironment();
|
||||
foreach ($zigEnv as $key => $value) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user