Browse Source

qt: needs threads

Fixes http://autobuild.buildroot.net/results/489/489f3ddcd023e6d1eaf8efa1da99d726f60da921/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 12 years ago
parent
commit
dfcb93aa5c
1 changed files with 3 additions and 2 deletions
  1. 3 2
      package/qt/Config.in

+ 3 - 2
package/qt/Config.in

@@ -1,10 +1,11 @@
-comment "qt requires a toolchain with C++ support enabled"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "qt requires a toolchain with C++ and threads support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
 
 menuconfig BR2_PACKAGE_QT
 	bool "Qt"
 	depends on !BR2_avr32 # lacks TLS
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Qt is a cross-platform application and UI framework for
 	  developers using C++.