[Buildroot] [git commit] zeromq: add libunwind as an optional dependency

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Apr 15 19:59:20 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=0d0ef33bb74a96d9bf05bf3e36454a808175cfc3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Asaf Kahlon <asafka7 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/zeromq/zeromq.mk | 7 +++++++
 1 file changed, 7 insertions(+)

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))


More information about the buildroot mailing list