From 138cc0f4976c3b5cacdc15884df49b54689a0a64 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Wed, 18 Apr 2018 16:21:53 +0200 Subject: [PATCH] [fix] Better fix for libSDL2-2.0.so.0 (#3893) Systems with libSDL2.so seem to have libSDL2-2.0.so.0, but those without only have libSDL2-2.0.so.0 --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b0963d764..8e367509c 100644 --- a/Makefile +++ b/Makefile @@ -304,8 +304,7 @@ appimageupdate: all ln -sf ../../$(APPIMAGE_DIR)/koreader.desktop $(INSTALL_DIR)/koreader ln -sf ../../resources/koreader.png $(INSTALL_DIR)/koreader # TODO at best this is DebUbuntu specific - ln -sf /usr/lib/x86_64-linux-gnu/libSDL2.so $(INSTALL_DIR)/koreader/libs || \ - ln -sf /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 $(INSTALL_DIR)/koreader/libs/libSDL2.so + ln -sf /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 $(INSTALL_DIR)/koreader/libs/libSDL2.so ifeq ("$(wildcard $(APPIMAGETOOL))","") # download appimagetool wget "$(APPIMAGETOOL_URL)"