aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/openssl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/openssl/Makefile')
-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 e3cd872d08..742c25b0c1 100644
--- a/tools/depends/target/openssl/Makefile
+++ b/tools/depends/target/openssl/Makefile
@@ -10,7 +10,7 @@ ARCHIVE=$(SOURCE).tar.gz
# configuration settings
CONFIGURE=MACHINE=$(PLATFORM) ./config shared zlib --openssldir=$(PREFIX) --with-zlib-include=$(PREFIX)/include --with-zlib-lib=$(PREFIX)/lib
ifeq ($(OS), android)
- CONFIGURE=./Configure shared zlib --openssldir=$(PREFIX) --with-zlib-include=$(PREFIX)/include --with-zlib-lib=$(PREFIX)/lib linux-generic32
+ CONFIGURE=./Configure shared zlib --openssldir=$(PREFIX) --with-zlib-include=$(PREFIX)/include --with-zlib-lib=$(PREFIX)/lib linux-generic32 -D__ANDROID_API__=$(NDK_LEVEL)
endif
ifeq ($(OS), ios)
CONFIGURE=./Configure iphoneos-cross zlib no-asm no-krb5 --openssldir=$(PREFIX)