From a5cd34dc089698ace69d43b3c3f54ffa0f70e18d Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 22 Jan 2020 18:26:29 +0100 Subject: [PATCH] follow-up prev (oops, only committed part of the changes) --- contrib/build-linux/appimage/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/build-linux/appimage/build.sh b/contrib/build-linux/appimage/build.sh index 1a0406120..585add685 100755 --- a/contrib/build-linux/appimage/build.sh +++ b/contrib/build-linux/appimage/build.sh @@ -171,11 +171,12 @@ info "finalizing AppDir." mv usr/include.tmp usr/include ) || fail "Could not finalize AppDir" -# We copy some libraries here that are on the AppImage excludelist info "Copying additional libraries" ( - # On some systems it can cause problems to use the system libusb + # On some systems it can cause problems to use the system libusb (on AppImage excludelist) cp -f /usr/lib/x86_64-linux-gnu/libusb-1.0.so "$APPDIR/usr/lib/libusb-1.0.so" || fail "Could not copy libusb" + # some distros lack libxkbcommon-x11 + cp -f /usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 "$APPDIR"/usr/lib/x86_64-linux-gnu || fail "Could not copy libxkbcommon-x11" ) info "stripping binaries from debug symbols."