mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
fix isStatic detection for native-native
This commit is contained in:
parent
6355a97b47
commit
4a2b28e88c
@ -34,6 +34,12 @@ class SPCTarget
|
||||
if (str_contains($target, '-dynamic')) {
|
||||
return false;
|
||||
}
|
||||
if (str_contains($target, '-musl')) {
|
||||
return false;
|
||||
}
|
||||
if (PHP_OS_FAMILY === 'Linux') {
|
||||
return SystemUtil::isMuslDist();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
if (getenv('SPC_LIBC') === 'musl') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user