summaryrefslogtreecommitdiff
path: root/openssl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-01-21 21:40:29 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-01-21 21:41:28 +0000
commit926822b241e6c8037fbda650667637d83b2b7cc0 (patch)
tree43368ea178b38e0adc10c35d291a93a3de1e65c2 /openssl
parent0231617f1a1aa8713d79d19140b5d526c8a56dc0 (diff)
android: don't add -I/usr/include to the compile line - urk
Diffstat (limited to 'openssl')
-rw-r--r--openssl/makefile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/openssl/makefile.mk b/openssl/makefile.mk
index f537838682e9..dcbf04e8075c 100644
--- a/openssl/makefile.mk
+++ b/openssl/makefile.mk
@@ -53,7 +53,12 @@ TARFILE_MD5=63ddc5116488985e820075e65fbe6aa4
CONFIGURE_DIR=.
CONFIGURE_ACTION=config
+.IF "$(OS)" == "ANDROID"
+CONFIGURE_FLAGS=shared no-idea
+.ELSE
+# explicitly including /usr/include seems hyper-broken anyway but ...
CONFIGURE_FLAGS=-I$(SYSBASE)$/usr$/include -L$(SYSBASE)$/usr$/lib shared no-idea
+.ENDIF
BUILD_DIR=.