SDL: do not build prebuilt libs if they are not used by the app
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user