summaryrefslogtreecommitdiff
path: root/python3/ExternalProject_python3.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-05-08 14:23:35 +0200
committerMichael Stahl <mstahl@redhat.com>2013-05-08 17:49:57 +0200
commit6afe0e5804f2a23f9fc9842d372fff77fd1023f1 (patch)
tree3220f9e0af0219f123e79164c67be26287e84027 /python3/ExternalProject_python3.mk
parent759d02bcdf9d1b6a95b26b483815ce0f4ae38569 (diff)
python3: build against internal zlib when that is requested
Change-Id: I72798f704237f99ed49eeb3633a1e2ef481edeed
Diffstat (limited to 'python3/ExternalProject_python3.mk')
-rw-r--r--python3/ExternalProject_python3.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/python3/ExternalProject_python3.mk b/python3/ExternalProject_python3.mk
index 72c476d95e1c..f672d71d3c16 100644
--- a/python3/ExternalProject_python3.mk
+++ b/python3/ExternalProject_python3.mk
@@ -12,6 +12,7 @@ $(eval $(call gb_ExternalProject_ExternalProject,python3))
$(eval $(call gb_ExternalProject_use_externals,python3,\
expat \
openssl \
+ zlib \
))
$(eval $(call gb_ExternalProject_register_targets,python3,\
@@ -66,7 +67,7 @@ else
# create a symlink "LO_lib" because the .so are in a directory with platform
# specific name like build/lib.linux-x86_64-3.3
-python3_cflags =
+python3_cflags = $(ZLIB_CFLAGS)
ifeq ($(ENABLE_VALGRIND),TRUE)
python3_cflags += $(VALGRIND_CFLAGS)
endif