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