Skip to contentSkip to conversation

zeromq: add libunwind as an optional dependency

Buildroot Thomas Petazzoni 1 participant 1 message Apr 15, 2018

lore
Share & tools
lore
#0 lore raw

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

---
 package/zeromq/zeromq.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/zeromq/zeromq.mk +7 -0
index 2682a567de..8273cad763 100644
@@ -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))