1
0
mirror of synced 2024-09-26 20:48:26 +02:00

build: Exclude system specific libraries from AppImage

This commit is contained in:
WerWolv 2021-12-15 20:28:59 +01:00 committed by GitHub
parent f0c544e7c6
commit afcd39e162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ mv ${BUILDDIR}/ImHex.AppDir/AppRun-x86_64 ${APPDIR}/AppRun
chmod a+x ${BUILDDIR}/ImHex.AppDir/AppRun
## Add all dependencies
ldd ${BUILDDIR}/imhex | awk '/ => /{print $3}' | xargs -I '{}' cp '{}' ${APPDIR}/usr/lib
ldd ${BUILDDIR}/imhex | awk '/ => /{print $3}' | awk '!/(libc|libdl|libpthread|libselinux)/' | xargs -I '{}' cp '{}' ${APPDIR}/usr/lib
# Package it up as described here:
# https://github.com/AppImage/AppImageKit#appimagetool-usage