From ecd5a274760a7a727673926734818a528581a88b Mon Sep 17 00:00:00 2001 From: Yifei Kong Date: Sun, 14 Jul 2024 14:33:13 +0800 Subject: [PATCH] Fix android abi --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c23a452a..9f5cffba 100644 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,7 @@ AC_ARG_WITH([android], AS_IF( # If building for android [test x"$build_for_android" = xyes], - [EXTRA_CMAKE_FLAGS="-DANDROID_ABI=${TARGET} -DANDROID_PLATFORM=android-${API} -DCMAKE_TOOLCHAIN_FILE=${NDK}/build/cmake/android.toolchain.cmake"], + [EXTRA_CMAKE_FLAGS="-DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=android-${API} -DCMAKE_TOOLCHAIN_FILE=${NDK}/build/cmake/android.toolchain.cmake"], [EXTRA_CMAKE_FLAGS=""] )