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