mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
cs fix
This commit is contained in:
@@ -330,7 +330,7 @@ class LinuxBuilder extends UnixBuilderBase
|
||||
|
||||
$target = "{$libDir}/{$realLibName}";
|
||||
if (file_exists($target)) {
|
||||
[, $output] = shell()->execWithResult("readelf -d " . escapeshellarg($target));
|
||||
[, $output] = shell()->execWithResult('readelf -d ' . escapeshellarg($target));
|
||||
$output = join("\n", $output);
|
||||
if (preg_match('/SONAME.*\[(.+)\]/', $output, $sonameMatch)) {
|
||||
$currentSoname = $sonameMatch[1];
|
||||
|
||||
Reference in New Issue
Block a user