package/zeromq: allow building with draft APIs enabled
Signed-off-by: Lionel Flandrin <lionel@svkt.org> [Thomas: add explicit --disable-drafts] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
0dd0a58351
commit
964ec06018
@ -52,4 +52,11 @@ config BR2_PACKAGE_ZEROMQ_PGM
|
|||||||
3208) implemented either over raw IP packets or UDP
|
3208) implemented either over raw IP packets or UDP
|
||||||
datagrams (encapsulated PGM).
|
datagrams (encapsulated PGM).
|
||||||
|
|
||||||
|
config BR2_PACKAGE_ZEROMQ_DRAFTS
|
||||||
|
bool "Draft APIs support"
|
||||||
|
help
|
||||||
|
Enable unstable draft ZeroMQ APIs
|
||||||
|
|
||||||
|
https://pyzmq.readthedocs.io/en/latest/draft.html
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -47,6 +47,12 @@ else
|
|||||||
ZEROMQ_CONF_OPTS += --without-pgm
|
ZEROMQ_CONF_OPTS += --without-pgm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y)
|
||||||
|
ZEROMQ_CONF_OPTS += --enable-drafts
|
||||||
|
else
|
||||||
|
ZEROMQ_CONF_OPTS += --disable-drafts
|
||||||
|
endif
|
||||||
|
|
||||||
# ZeroMQ uses libsodium if it's available.
|
# ZeroMQ uses libsodium if it's available.
|
||||||
ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
|
ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
|
||||||
ZEROMQ_DEPENDENCIES += libsodium
|
ZEROMQ_DEPENDENCIES += libsodium
|
||||||
|
Loading…
Reference in New Issue
Block a user