From af9eef6f6eba27c4dadf4b6afe84f0b2fa04e1d9 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Thu, 6 Jan 2022 20:56:17 +0800 Subject: [PATCH] Fix Android build Some static libraries are still required in 32-bit builds. --- src/get-clang.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/get-clang.sh b/src/get-clang.sh index 369d34152a..5d7eb66055 100755 --- a/src/get-clang.sh +++ b/src/get-clang.sh @@ -61,6 +61,6 @@ if [ "$USE_ANDROID_NDK" -a ! -d third_party/android_ndk ]; then git -c advice.detachedHead=false checkout "$android_ndk_version" rm -rf .git 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 ../.. fi