Browse Source

fix(appimage): Patch manually copied libs to include rpath for local dir

linuxdeployqt already does this for its copied libs. Required for included libs to find libs inside the appimage that they depend on.
reviewable/pr6407/r1
Anthony Bilinski 4 years ago
parent
commit
cb8a095fd2
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 2
      appimage/build.sh

2
appimage/build.sh

@ -173,7 +173,9 @@ libs=( @@ -173,7 +173,9 @@ libs=(
)
for lib in "${libs[@]}"; do
lib_file_name=$(basename "$lib")
cp -P $(echo "$lib"*) "$LOCAL_LIB_DIR"
patchelf --set-rpath '$ORIGIN' "$LOCAL_LIB_DIR/$lib_file_name"
done
# this is important, aitool automatically uses the same filename in .zsync meta file.

Loading…
Cancel
Save