summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Godard <lgodard.libre@laposte.net>2012-04-10 16:07:47 +0100
committerPetr Mladek <pmladek@suse.cz>2012-04-17 11:45:52 +0200
commit35f7233f498785904f37968ee2dedfc59a64e992 (patch)
tree65dbacbf4c22128f4d5ee74ecfe0555dd0d6214a
parent7a028f6c1e7fb80a22002ad6fed1604dab327e36 (diff)
to find the headers and (static) library of our internal openssl
Signed-off-by: Petr Mladek <pmladek@suse.cz>
-rw-r--r--python/makefile.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/makefile.mk b/python/makefile.mk
index 4f50ed3bcccf..1af56e5187dc 100644
--- a/python/makefile.mk
+++ b/python/makefile.mk
@@ -65,6 +65,13 @@ CONFIGURE_DIR=
BUILD_DIR=
MYCWD=$(shell @pwd)/$(INPATH)/misc/build
+.IF "$(SYSTEM_OPENSSL)" != "YES"
+#we want to be sure we use our internal openssl if
+#that's enabled
+CC+:=-I$(SOLARINCDIR)$/external
+python_LDFLAGS+=-L$(SOLARLIBDIR)
+.ENDIF
+
# CLFLAGS get overwritten in Makefile.pre.in
.IF "$(SYSBASE)"!=""
CC+:=-I$(SYSBASE)$/usr$/include