Skip to contentSkip to conversation

zeromq: needs threads

PATCH New Gustavo Zacarias 2 participants 2 messages Apr 7, 2013 – Apr 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zeromq: needs threads

Fixes:
http://autobuild.buildroot.net/results/11a1c085e3f5c490cbf3fec8f26169ade29f7363/

---
 package/cppzmq/Config.in | 3 ++-
 package/czmq/Config.in   | 4 +++-
 package/filemq/Config.in | 6 ++++--
 package/zeromq/Config.in | 6 ++++--
 package/zmqpp/Config.in  | 5 +++--
 5 files changed, 16 insertions(+), 8 deletions(-)
package/cppzmq/Config.in +2 -1
index ea632d1..72f0238 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_CPPZMQ
 	depends on BR2_INET_IPV6 # zeromq
 	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
+	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
 	select BR2_PACKAGE_ZEROMQ
 	help
 	  C++ binding for zeromq (ZeroMQ, 0MQ, zmq).
@@ -12,4 +13,4 @@ config BR2_PACKAGE_CPPZMQ
 
 comment "cppzmq requires a toolchain with C++, IPV6, LARGEFILE and WCHAR support"
 	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
-		&& BR2_USE_WCHAR)
+		&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/czmq/Config.in +3 -1
index 9fd8e86..7e4205e 100644
@@ -5,10 +5,12 @@ config BR2_PACKAGE_CZMQ
 	depends on BR2_INET_IPV6 # zeromq
 	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
+	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
 	help
 	  High-level C Binding for 0MQ
 
 	  http://czmq.zeromq.org/
 
 comment "czmq requires a toolchain with C++, IPV6, LARGEFILE and WCHAR support"
-	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE && BR2_USE_WCHAR)
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
+		&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/filemq/Config.in +4 -2
index b8eb8bd..d25f03f 100644
@@ -7,10 +7,12 @@ config BR2_PACKAGE_FILEMQ
 	depends on BR2_INET_IPV6 # zeromq
 	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
+	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
 	help
 	  FileMQ is a publish-subscribe file service based on 0MQ.
 
 	  http://github.com/zeromq/filemq
 
-comment "filemq requires a toolchain with C++, IPv6, LARGEFILE and WCHAR support"
-	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE && BR2_USE_WCHAR)
+comment "filemq requires a toolchain with C++, IPv6, LARGEFILE, WCHAR & thread support"
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
+		&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
package/zeromq/Config.in +4 -2
index f93ab5d..35704c3 100644
@@ -1,5 +1,6 @@
-comment "zeromq requires a toolchain with C++, IPV6, LARGEFILE and WCHAR support"
-	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE && BR2_USE_WCHAR)
+comment "zeromq requires a toolchain with C++, IPV6, LARGEFILE, WCHAR & thread support"
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
+		&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
 
 config BR2_PACKAGE_ZEROMQ
 	bool "zeromq"
@@ -7,6 +8,7 @@ config BR2_PACKAGE_ZEROMQ
 	depends on BR2_INET_IPV6
 	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_UTIL_LINUX
 	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
 	help
package/zmqpp/Config.in +3 -2
index 7a12462..9afcca4 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_ZMQPP
 	depends on BR2_INET_IPV6 # zeromq
 	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
+	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
 	select BR2_PACKAGE_ZEROMQ
 	help
 	  C++ binding for zeromq (ZeroMQ, 0MQ, zmq).
@@ -14,9 +15,9 @@ config BR2_PACKAGE_ZMQPP
 
 	  http://github.com/benjamg/zmqpp
 
-comment "zmqpp requires a toolchain with C++, IPV6, LARGEFILE and WCHAR support"
+comment "zmqpp requires a toolchain with C++, IPV6, LARGEFILE, WCHAR & thread support"
 	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
-		&& BR2_USE_WCHAR)
+		&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
 
 config BR2_PACKAGE_ZMQPP_CLIENT
 	bool "zmqpp client"
Signature · 1 line
1.8.1.5