From 7aa2cd0726a3fbd77b45218c58561d236df22179 Mon Sep 17 00:00:00 2001 From: Sergii Pylypenko Date: Tue, 21 Nov 2017 23:30:47 +0200 Subject: [PATCH] Build prebuilt libraries only if they are requested, build Boost libraries automatically --- changeAppSettings.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/changeAppSettings.sh b/changeAppSettings.sh index f87c6a214..2d4a3e1f4 100755 --- a/changeAppSettings.sh +++ b/changeAppSettings.sh @@ -1111,6 +1111,11 @@ fi echo Compiling prebuilt libraries -make -C project/jni -f Makefile.prebuilt +if echo "$CompiledLibraries" | grep -E 'iconv|charset|icu|crypto|ssl' > /dev/null; then + make -C project/jni -f Makefile.prebuilt +fi +if echo "$CompiledLibraries" | grep 'boost' > /dev/null; then + make -C project/jni -f Makefile.prebuilt boost +fi echo Done