From 4090761baa7441bd3ad1c8d173904e78b87eaea3 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Thu, 8 Jan 2026 14:31:09 +0100 Subject: [PATCH] [build,android] undefine __ANDROID_API__ before redefining --- scripts/android-build-openssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/android-build-openssl.sh b/scripts/android-build-openssl.sh index c678e8675..0598c3dec 100755 --- a/scripts/android-build-openssl.sh +++ b/scripts/android-build-openssl.sh @@ -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