print ldd

This commit is contained in:
Jarred Wilson 2025-03-08 09:37:00 -06:00
parent 050122eea3
commit e2b795f181
2 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,7 @@ chmod a+x linuxdeploy-plugin-checkrt-x86_64.sh
./linuxdeploy-plugin-checkrt-x86_64.sh --appdir AppDir
# Bundle libc and all dependencies
echo AppDir/usr/bin/shadps4
ldd AppDir/usr/bin/shadps4 | awk -F"[> ]" '{print $4}' \
| xargs -I {} cp -vf {} AppDir/usr/lib
cp -v /lib64/ld-linux-x86-64.so.2 AppDir

View File

@ -17,5 +17,13 @@ chmod a+x linuxdeploy-plugin-checkrt-x86_64.sh
# Build AppImage
./linuxdeploy-x86_64.AppImage --appdir AppDir
./linuxdeploy-plugin-checkrt-x86_64.sh --appdir AppDir
# Bundle libc and all dependencies
echo AppDir/usr/bin/shadps4
ldd AppDir/usr/bin/shadps4 | awk -F"[> ]" '{print $4}' \
| xargs -I {} cp -vf {} AppDir/usr/lib
cp -v /lib64/ld-linux-x86-64.so.2 AppDir
rm -f AppDir/usr/lib/ld-linux-x86-64.so.2 2>/dev/null || true
./linuxdeploy-x86_64.AppImage --appdir AppDir -d "$GITHUB_WORKSPACE"/dist/net.shadps4.shadPS4.desktop -e "$GITHUB_WORKSPACE"/build/shadps4 -i "$GITHUB_WORKSPACE"/src/images/net.shadps4.shadPS4.svg --output appimage
mv shadPS4-x86_64.AppImage Shadps4-sdl.AppImage