summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/makefile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/makefile.mk b/python/makefile.mk
index 3f35d4c22299..e66acb76c2f6 100644
--- a/python/makefile.mk
+++ b/python/makefile.mk
@@ -65,6 +65,11 @@ CONFIGURE_DIR=
BUILD_DIR=
MYCWD=$(shell @pwd)/$(INPATH)/misc/build
+#we want to be sure we use our internal openssl if
+#that's enabled
+CC+:=-I$(SOLARINCDIR)$/external
+python_LDFLAGS+=-L$(SOLARLIBDIR)
+
# CLFLAGS get overwritten in Makefile.pre.in
.IF "$(SYSBASE)"!=""
CC+:=-I$(SYSBASE)$/usr$/include