[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
pull/3896/head
Frans de Jonge 6 years ago committed by GitHub
parent 1934ebd911
commit 138cc0f497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)"

Loading…
Cancel
Save