mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-04-13 06:51:05 -05:00
Set rpath for existing binaries and libraries
This commit is contained in:
@@ -670,11 +670,15 @@ namespace linuxdeploy {
|
||||
for (const auto& executable : listExecutables()) {
|
||||
if (!d->deployElfDependencies(executable))
|
||||
return false;
|
||||
|
||||
d->setElfRPathOperations[executable] = "$ORIGIN/../lib";
|
||||
}
|
||||
|
||||
for (const auto& sharedLibrary : listSharedLibraries()) {
|
||||
if (!d->deployElfDependencies(sharedLibrary))
|
||||
return false;
|
||||
|
||||
d->setElfRPathOperations[sharedLibrary] = "$ORIGIN";
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user