Skip to contentSkip to conversation

libupnp: requires threads

PATCH New Gustavo Zacarias 2 participants 2 messages Feb 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libupnp: requires threads

Fixes:
http://autobuild.buildroot.net/results/ac5a18a6241d36a751cce1867c4da63047eafbaa/

---
 package/libupnp/Config.in | 5 +++--
 package/ushare/Config.in  | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)
package/libupnp/Config.in +3 -2
index 2e6edcd..52fa739 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBUPNP
 	bool "libupnp"
 	depends on BR2_LARGEFILE
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  The portable SDK for UPnP(tm) Devices (libupnp) provides developers
 	  with an API and open source code for building control points,
@@ -9,5 +10,5 @@ config BR2_PACKAGE_LIBUPNP
 
 	  http://pupnp.sourceforge.net/
 
-comment "libupnp requires a toolchain with LARGEFILE support"
-	depends on !BR2_LARGEFILE
+comment "libupnp requires a toolchain with LARGEFILE and thread support"
+	depends on !(BR2_LARGEFILE && BR2_TOOLCHAIN_HAS_THREADS)
package/ushare/Config.in +3 -2
index f7b2124..5b87087 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_USHARE
 	bool "ushare"
 	depends on BR2_LARGEFILE
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libupnp
 	select BR2_PACKAGE_LIBUPNP
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	help
@@ -10,5 +11,5 @@ config BR2_PACKAGE_USHARE
 
 	  http://ushare.geexbox.org/
 
-comment "ushare requires a toolchain with LARGEFILE support"
-	depends on !BR2_LARGEFILE
+comment "ushare requires a toolchain with LARGEFILE and thread support"
+	depends on !(BR2_LARGEFILE && BR2_TOOLCHAIN_HAS_THREADS)
Signature · 1 line
1.7.12.4