From afcd39e16276548c30be3b69aa0054ff5f553c4a Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 15 Dec 2021 20:28:59 +0100 Subject: [PATCH] build: Exclude system specific libraries from AppImage --- dist/AppImage/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/AppImage/package.sh b/dist/AppImage/package.sh index 39edbf42d..eb86ef6ae 100755 --- a/dist/AppImage/package.sh +++ b/dist/AppImage/package.sh @@ -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