mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
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.
This commit is contained in:
parent
cb6fd88239
commit
cb8a095fd2
|
@ -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…
Reference in New Issue
Block a user