qt: needs threads
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 24 Sep 2013 11:25:30 +0000 (13:25 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 24 Sep 2013 11:25:30 +0000 (13:25 +0200)
Fixes http://autobuild.buildroot.net/results/489/489f3ddcd023e6d1eaf8efa1da99d726f60da921/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt/Config.in

index 35e8208b5ce5629184b5826c5ce27a3a1443e9ed..2afbd92d56c81387744bd181efb40607d262f810 100644 (file)
@@ -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++.