Skip to contentSkip to conversation

zyre: fix static builds

PATCH Superseded Vicente Olivert Riera 1 participant 2 messages Aug 24, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zyre: fix static builds

zyre package fails to build statically, so we pass the needed libs directly in order to fix this problem.

---
 package/zyre/zyre.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
package/zyre/zyre.mk +4 -0
index 661dddc..87ed427 100644
@@ -12,6 +12,10 @@ ZYRE_INSTALL_STAGING = YES
 ZYRE_DEPENDENCIES = czmq zeromq
 ZYRE_AUTORECONF = YES
 
+ifeq ($(BR2_STATIC_LIBS),y)
+ZYRE_CONF_ENV += LIBS="-lzmq -lstdc++ -lczmq -pthread"
+endif
+
 define ZYRE_CREATE_CONFIG_DIR
 	mkdir -p $(@D)/config
 endef
Signature · 1 line
1.7.1