From 9351910657a04bab45bb9a7be22c473022610ded Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Thu, 17 Jan 2019 15:28:18 +0100 Subject: [PATCH] [fix] AppImage: also include libsndio (#4487) Should fix #4485. --- Makefile | 2 ++ platform/appimage/AppRun | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f922304b7..75b3ef58d 100644 --- a/Makefile +++ b/Makefile @@ -312,6 +312,8 @@ appimageupdate: all ln -sf ../../resources/koreader.png $(INSTALL_DIR)/koreader # TODO at best this is DebUbuntu specific ln -sf /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 $(INSTALL_DIR)/koreader/libs/libSDL2.so + # required for our stock Ubuntu SDL even though we don't use sound + ln -sf /usr/lib/x86_64-linux-gnu/libsndio.so $(INSTALL_DIR)/koreader/libs/$(shell readlink /usr/lib/x86_64-linux-gnu/libsndio.so) ifeq ("$(wildcard $(APPIMAGETOOL))","") # download appimagetool wget "$(APPIMAGETOOL_URL)" diff --git a/platform/appimage/AppRun b/platform/appimage/AppRun index 1991d9679..b8da7e6a2 100755 --- a/platform/appimage/AppRun +++ b/platform/appimage/AppRun @@ -7,7 +7,7 @@ KOREADER_DIR="${0%/*}" # we're always starting from our working directory cd "${KOREADER_DIR}" || exit -# export load library path for some old firmware +# export load library path export LD_LIBRARY_PATH=${KOREADER_DIR}/libs:$LD_LIBRARY_PATH # export external font directory