You've already forked linuxdeploy
mirror of
https://github.com/encounter/linuxdeploy.git
synced 2026-03-30 11:18:58 -07:00
Don't deploy dependencies for existing symlinks
This might lead to unintended side effects, e.g., when bundling additional resources in a separate prefix for which linuxdeploy is not needed.
This commit is contained in:
@@ -836,6 +836,9 @@ namespace linuxdeploy {
|
||||
|
||||
bool AppDir::deployDependenciesForExistingFiles() {
|
||||
for (const auto& executable : listExecutables()) {
|
||||
if (bf::is_symlink(executable))
|
||||
continue;
|
||||
|
||||
if (!d->deployElfDependencies(executable))
|
||||
return false;
|
||||
|
||||
@@ -843,6 +846,9 @@ namespace linuxdeploy {
|
||||
}
|
||||
|
||||
for (const auto& sharedLibrary : listSharedLibraries()) {
|
||||
if (bf::is_symlink(sharedLibrary))
|
||||
continue;
|
||||
|
||||
if (!d->deployElfDependencies(sharedLibrary))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user