Skip to content

Commit

Permalink
APPIMAGE: include libpthread in libc overrides for when not using nat…
Browse files Browse the repository at this point in the history
…ive libc (#822)
  • Loading branch information
ciscon committed Sep 14, 2023
1 parent 4dd9ac9 commit 0410748
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc/appimage/appimage-manual_creation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ strip -s "$DIR/AppDir/usr/lib/"* || exit 5
strip -s "$DIR/AppDir/usr/bin/"* || exit 5
mv -f "$DIR/AppDir/usr/lib/libc.so.6" "$DIR/AppDir/usr/lib-override/."
mv -f "$DIR/AppDir/usr/lib/libm.so.6" "$DIR/AppDir/usr/lib-override/."
cp -f "$(ldconfig -Np|grep --color=never libpthread.so.0$|grep --color=never $(uname -m)|awk '{print $NF}')" "$DIR/AppDir/usr/lib-override/."
cp -Lf "/lib64/ld-linux-${ARCHDASH}.so.2" "$DIR/AppDir/usr/lib-override/." || exit 6

cd "$DIR" || exit 5
Expand Down

0 comments on commit 0410748

Please sign in to comment.