mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
-static, not static
This commit is contained in:
parent
3940f032af
commit
320c21d272
@ -107,7 +107,7 @@ class GlobalEnvManager
|
|||||||
self::putenv("{$k}={$v}");
|
self::putenv("{$k}={$v}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (getenv('SPC_LIBC_LINKAGE') === 'static' && getenv('SPC_LIBC') === 'glibc') {
|
if (getenv('SPC_LIBC_LINKAGE') === '-static' && getenv('SPC_LIBC') === 'glibc') {
|
||||||
self::putenv('SPC_LIBC_LINKAGE_FLAG=');
|
self::putenv('SPC_LIBC_LINKAGE_FLAG=');
|
||||||
}
|
}
|
||||||
if (str_contains((string) getenv('CC'), 'zig') || str_contains((string) getenv('CXX'), 'zig')) {
|
if (str_contains((string) getenv('CC'), 'zig') || str_contains((string) getenv('CXX'), 'zig')) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user