SDL: do not build prebuilt libs if they are not used by the app

This commit is contained in:
Sergii Pylypenko
2018-10-11 17:28:41 +03:00
parent de301f6c59
commit 51790527e9
12 changed files with 54 additions and 27 deletions

View File

@@ -1118,10 +1118,15 @@ fi
echo Compiling prebuilt libraries
#if echo "$CompiledLibraries" | grep -E 'iconv|charset|icu|crypto|ssl|harfbuzz' > /dev/null; then
make -C project/jni -f Makefile.prebuilt
#fi
if echo "$CompiledLibraries" | grep 'boost' > /dev/null; then
if echo "$CompiledLibraries" | grep -E 'crypto|ssl' > /dev/null; then
make -C project/jni -f Makefile.prebuilt openssl
fi
if echo "$CompiledLibraries" | grep -E 'iconv|charset|icu|harfbuzz' > /dev/null; then
make -C project/jni -f Makefile.prebuilt icu
fi
if echo "$CompiledLibraries" | grep 'boost_' > /dev/null; then
make -C project/jni -f Makefile.prebuilt boost
fi