Skip to content

Commit 320c21d

Browse files
committed
-static, not static
1 parent 3940f03 commit 320c21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/util/GlobalEnvManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public static function init(): void
107107
self::putenv("{$k}={$v}");
108108
}
109109
}
110-
if (getenv('SPC_LIBC_LINKAGE') === 'static' && getenv('SPC_LIBC') === 'glibc') {
110+
if (getenv('SPC_LIBC_LINKAGE') === '-static' && getenv('SPC_LIBC') === 'glibc') {
111111
self::putenv('SPC_LIBC_LINKAGE_FLAG=');
112112
}
113113
if (str_contains((string) getenv('CC'), 'zig') || str_contains((string) getenv('CXX'), 'zig')) {

0 commit comments

Comments
 (0)