This commit is contained in:
DubbleClick 2025-07-05 13:53:12 +07:00
parent a191c136dc
commit 05f3abe944

View File

@ -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];