[build,android] undefine __ANDROID_API__ before redefining

This commit is contained in:
Armin Novak
2026-01-08 14:31:09 +01:00
committed by akallabeth
parent df26d30c84
commit 4090761baa

View File

@@ -30,7 +30,7 @@ function build {
BASE=$(pwd)
DST_DIR=$BUILD_DST/$DST_PREFIX
common_run cd $BUILD_SRC
common_run ./Configure ${CONFIG} -D__ANDROID_API__=$NDK_TARGET
common_run ./Configure ${CONFIG} -U__ANDROID_API__ -D__ANDROID_API__=$NDK_TARGET
common_run make SHLIB_EXT=.so -j build_libs
if [ ! -d $DST_DIR ]; then