aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJose Luis Marti <joseluis.marti@gmail.com>2024-04-29 18:02:58 +0200
committerJose Luis Marti <joseluis.marti@gmail.com>2024-04-30 15:41:24 +0200
commit494a452cd65abe1447771874cc79ed967015d944 (patch)
tree9aeae20e15d5e9cceb0d705d8385793d62e6df41 /tools
parentce2865c9056819e23b389b520117556d4d5dbf37 (diff)
downloadxbmc-494a452cd65abe1447771874cc79ed967015d944.tar.xz
Adjust openssl configuration to use a specific API level
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/openssl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/target/openssl/Makefile b/tools/depends/target/openssl/Makefile
index 993b11bd2b..6a7f614153 100644
--- a/tools/depends/target/openssl/Makefile
+++ b/tools/depends/target/openssl/Makefile
@@ -22,7 +22,7 @@ ifeq ($(OS), linux)
endif
else
ifeq ($(OS), android)
- TARGETOPT=--with-zlib-include=$(PREFIX)/include --with-zlib-lib=$(PREFIX)/lib
+ TARGETOPT=--with-zlib-include=$(PREFIX)/include --with-zlib-lib=$(PREFIX)/lib -U__ANDROID_API__ -D__ANDROID_API__=$(NDK_LEVEL)
export ANDROID_NDK_ROOT=$(NDKROOT)
export PATH:=$(TOOLCHAIN)/bin:$(PATH)