fix isStatic detection for native-native

This commit is contained in:
DubbleClick 2025-07-03 12:33:55 +07:00
parent 6355a97b47
commit 4a2b28e88c

View File

@ -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') {