aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lionel Flandrin <lionel@svkt.org>2019-02-05 11:28:14 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-02-06 17:19:53 +0100
commit1c1d6b8248d95f398d50d6b05db1050b4e3fde0a (patch)
tree75a66c2fba99e143a18dfa8d4a44d2fee684d37d
parent964ec06018cc49480ddc2c3248b7c7330ccc40b3 (diff)
downloadbuildroot-1c1d6b8248d95f398d50d6b05db1050b4e3fde0a.tar.gz
buildroot-1c1d6b8248d95f398d50d6b05db1050b4e3fde0a.tar.bz2
package/python-pyzmq: enable draft APIs when supported by ZeroMQ
This doesn't introduce a new config flag, instead it just automatically enables draft support if it's configured in the zeromq package itself. Signed-off-by: Lionel Flandrin <lionel@svkt.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/python-pyzmq/python-pyzmq.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/python-pyzmq/python-pyzmq.mk b/package/python-pyzmq/python-pyzmq.mk
index 1f7cb5d613..b977cca927 100644
--- a/package/python-pyzmq/python-pyzmq.mk
+++ b/package/python-pyzmq/python-pyzmq.mk
@@ -22,4 +22,8 @@ endef
PYTHON_PYZMQ_POST_PATCH_HOOKS += PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION
+ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y)
+PYTHON_PYZMQ_BUILD_OPTS += --enable-drafts
+endif
+
$(eval $(python-package))