From 616911d314fcee359750d0a4d32153d52e9af187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Fdez?= Date: Sat, 21 Nov 2020 13:46:27 +0100 Subject: [PATCH] exclude libs/ from 7z file --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index da289d369..ada837c1e 100644 --- a/Makefile +++ b/Makefile @@ -355,6 +355,10 @@ androidupdate: all # in runtime luajit-launcher's libluajit.so will be loaded -rm $(INSTALL_DIR)/koreader/libs/libluajit.so + # shared libraries are stored as raw assets + rm -rf $(ANDROID_LAUNCHER_DIR)assets/libs + cp -pR $(INSTALL_DIR)/koreader/libs $(ANDROID_LAUNCHER_DIR)/assets + # assets are compressed manually and stored inside the APK. cd $(INSTALL_DIR)/koreader && 7z a -l -m0=lzma2 -mx=9 \ ../../$(ANDROID_LAUNCHER_DIR)/assets/module/koreader-$(VERSION).7z * \ @@ -364,6 +368,7 @@ androidupdate: all -xr!*data/tessdata$ \ -xr!*history$ \ -xr!*l10n/templates$ \ + -xr!*libs$ \ -xr!*ota$ \ -xr!*resources/fonts* \ -xr!*resources/icons/src* \