From b7eb2f7e7fb8d64b76306e42d80a041eeb285068 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Thu, 17 Jan 2019 16:04:34 +0100 Subject: [PATCH] [fix] AppImage: include libsndio for SDL (#4488) Better than #4487. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 75b3ef58d..5ba5ff4ba 100644 --- a/Makefile +++ b/Makefile @@ -313,7 +313,8 @@ appimageupdate: all # 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) + # the readlink is a half-hearted attempt at being generic; the echo libsndio.so.6.1 is specific to the nightly builds + ln -sf /usr/lib/x86_64-linux-gnu/$(shell readlink /usr/lib/x86_64-linux-gnu/libsndio.so || echo libsndio.so.6.1) $(INSTALL_DIR)/koreader/libs/ ifeq ("$(wildcard $(APPIMAGETOOL))","") # download appimagetool wget "$(APPIMAGETOOL_URL)"