aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/openssl
diff options
context:
space:
mode:
authorChris "Koying" Browet <cbro@semperpax.com>2017-11-21 20:18:01 +0100
committerRechi <Rechi@users.noreply.github.com>2017-11-21 20:18:01 +0100
commit401ce4fb7f3f4f4c9d0eeec8562a859cd355de82 (patch)
tree634ea6c30e5daf79af14e6bbd8e8059cd6a4696b /tools/depends/target/openssl
parentb9ae0dfa4bf7289c883b417a81ab4596b9817832 (diff)
ADD: [droid] Support NDK 15b+ (unified headers)
samba: ndk 15c has ifaddrs.h but some functions are only supported with sdk 24 or higher. Therefore ignore ifaddrs.h from ndk and still use samba internal logic.
Diffstat (limited to 'tools/depends/target/openssl')
-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)