aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Asaf Kahlon <asafka7@gmail.com>2018-04-15 22:39:57 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-15 21:59:20 +0200
commit0d0ef33bb74a96d9bf05bf3e36454a808175cfc3 (patch)
tree82cf3b527a3223103e6bfdd73a8f53f428563fdf
parenta86e44394a8bd94bb56fcead56cc196d6f90aa66 (diff)
downloadbuildroot-0d0ef33bb74a96d9bf05bf3e36454a808175cfc3.tar.gz
buildroot-0d0ef33bb74a96d9bf05bf3e36454a808175cfc3.tar.bz2
zeromq: add libunwind as an optional dependency
Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/zeromq/zeromq.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
index 2682a567de..8273cad763 100644
--- a/package/zeromq/zeromq.mk
+++ b/package/zeromq/zeromq.mk
@@ -51,4 +51,11 @@ else
ZEROMQ_CONF_OPTS += --without-libsodium
endif
+ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
+ZEROMQ_DEPENDENCIES += libunwind
+ZEROMQ_CONF_OPTS += --enable-libunwind
+else
+ZEROMQ_CONF_OPTS += --disable-libunwind
+endif
+
$(eval $(autotools-package))