aboutsummaryrefslogtreecommitdiff
path: root/package/zeromq/zeromq.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/zeromq/zeromq.mk')
-rw-r--r--package/zeromq/zeromq.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
index 8d2619817b..fbf2ca3f8c 100644
--- a/package/zeromq/zeromq.mk
+++ b/package/zeromq/zeromq.mk
@@ -4,13 +4,15 @@
#
################################################################################
-ZEROMQ_VERSION = 4.3.3
+ZEROMQ_VERSION = 4.3.4
ZEROMQ_SITE = https://github.com/zeromq/libzmq/releases/download/v$(ZEROMQ_VERSION)
ZEROMQ_INSTALL_STAGING = YES
ZEROMQ_DEPENDENCIES = util-linux
ZEROMQ_CONF_OPTS = --disable-Werror --without-documentation
ZEROMQ_LICENSE = LGPL-3.0+ with exceptions
ZEROMQ_LICENSE_FILES = COPYING COPYING.LESSER
+# We're patching configure.ac
+ZEROMQ_AUTORECONF = YES
# Assume these flags are always available. It is true, at least for
# SOCK_CLOEXEC, since linux v2.6.27.
@@ -53,6 +55,13 @@ else
ZEROMQ_CONF_OPTS += --disable-drafts
endif
+ifeq ($(BR2_PACKAGE_LIBBSD),y)
+ZEROMQ_DEPENDENCIES += host-pkgconf libbsd
+ZEROMQ_CONF_OPTS += --enable-libbsd
+else
+ZEROMQ_CONF_OPTS += --disable-libbsd
+endif
+
# ZeroMQ uses libsodium if it's available.
ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
ZEROMQ_DEPENDENCIES += libsodium