mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-14 04:15:35 +08:00
makes more sense
This commit is contained in:
@@ -178,7 +178,7 @@ class SystemUtil
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if ($libc === 'musl') {
|
if ($libc === 'musl') {
|
||||||
if (SPCTarget::getLibc() === 'musl') {
|
if (self::isMuslDist()) {
|
||||||
$result = shell()->execWithResult('ldd 2>&1', false);
|
$result = shell()->execWithResult('ldd 2>&1', false);
|
||||||
} elseif (is_file('/usr/local/musl/lib/libc.so')) {
|
} elseif (is_file('/usr/local/musl/lib/libc.so')) {
|
||||||
$result = shell()->execWithResult('/usr/local/musl/lib/libc.so 2>&1', false);
|
$result = shell()->execWithResult('/usr/local/musl/lib/libc.so 2>&1', false);
|
||||||
|
|||||||
Reference in New Issue
Block a user