Fix Android build

Some static libraries are still required in 32-bit builds.
This commit is contained in:
klzgrad 2022-01-06 20:56:17 +08:00
parent daccaf0a3b
commit af9eef6f6e

View File

@ -61,6 +61,6 @@ if [ "$USE_ANDROID_NDK" -a ! -d third_party/android_ndk ]; then
git -c advice.detachedHead=false checkout "$android_ndk_version" git -c advice.detachedHead=false checkout "$android_ndk_version"
rm -rf .git rm -rf .git
find toolchains -type f -regextype egrep \! -regex \ find toolchains -type f -regextype egrep \! -regex \
'.*(crt.*o|lib(android|c|dl|log|m).so|usr/local.*|usr/include.*)' -delete '.*(lib(atomic|gcc|gcc_real|compiler_rt-extras|android_support|unwind).a|crt.*o|lib(android|c|dl|log|m).so|usr/local.*|usr/include.*)' -delete
cd ../.. cd ../..
fi fi