diff --git a/build/make_android_lua53.sh b/build/make_android_lua53.sh index 8df89f5b0..0c777c352 100755 --- a/build/make_android_lua53.sh +++ b/build/make_android_lua53.sh @@ -18,7 +18,7 @@ function build() { ABI=$2 TOOLCHAIN_ANME=$3 BUILD_PATH=build.Android.${ABI} - cmake -H. -B${BUILD_PATH} -DCMAKE_TOOLCHAIN_FILE=${NDK}/build/cmake/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=${API} -DANDROID_TOOLCHAIN=clang -DANDROID_TOOLCHAIN_NAME=${TOOLCHAIN_ANME} + cmake -H. -B${BUILD_PATH} -DANDROID_ABI=${ABI} -DCMAKE_TOOLCHAIN_FILE=${NDK}/build/cmake/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=${API} -DANDROID_TOOLCHAIN=clang -DANDROID_TOOLCHAIN_NAME=${TOOLCHAIN_ANME} cmake --build ${BUILD_PATH} --config Release mkdir -p plugin_lua53/Plugins/Android/libs/${ABI}/ cp ${BUILD_PATH}/libxlua.so plugin_lua53/Plugins/Android/libs/${ABI}/libxlua.so