Skip to content

Commit

Permalink
package/zeromq: allow building with draft APIs enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Lionel Flandrin <[email protected]>
[Thomas: add explicit --disable-drafts]
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
simias authored and tpetazzoni committed Feb 6, 2019
1 parent 0dd0a58 commit 964ec06
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package/zeromq/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,11 @@ config BR2_PACKAGE_ZEROMQ_PGM
3208) implemented either over raw IP packets or UDP
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
6 changes: 6 additions & 0 deletions package/zeromq/zeromq.mk
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ else
ZEROMQ_CONF_OPTS += --without-pgm
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.
ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
ZEROMQ_DEPENDENCIES += libsodium
Expand Down

0 comments on commit 964ec06

Please sign in to comment.