From: Lionel Flandrin Date: Tue, 5 Feb 2019 10:28:14 +0000 (+0100) Subject: package/python-pyzmq: enable draft APIs when supported by ZeroMQ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c1d6b8248d95f398d50d6b05db1050b4e3fde0a;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- 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))