Patchwork [07/67] dbus-glib: libglib2 requires threads

login
register
mail settings
Submitter Spenser Gilliland
Date July 15, 2013, 7:46 p.m.
Message ID <1373917670-30006-8-git-send-email-spenser@gillilanding.com>
Download mbox | patch
Permalink /patch/259183/
State Accepted
Headers show

Comments

Spenser Gilliland - July 15, 2013, 7:46 p.m.
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 package/dbus-glib/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Patch

diff --git a/package/dbus-glib/Config.in b/package/dbus-glib/Config.in
index f1dab43..b019b34 100644
--- a/package/dbus-glib/Config.in
+++ b/package/dbus-glib/Config.in
@@ -2,11 +2,13 @@  config BR2_PACKAGE_DBUS_GLIB
 	bool "dbus-glib"
 	depends on BR2_PACKAGE_DBUS
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	help
 	  GLib bindings for D-Bus.
 
 	  http://www.freedesktop.org/software/dbus
 
-comment "dbus-glib requires a toolchain with WCHAR support"
-	depends on BR2_PACKAGE_DBUS && !BR2_USE_WCHAR
+comment "dbus-glib requires a toolchain with WCHAR and threading support"
+	depends on BR2_PACKAGE_DBUS && \
+		(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)