libtorrent: needs threads support
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 19 Feb 2013 15:23:17 +0000 (16:23 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 19 Feb 2013 15:23:17 +0000 (16:23 +0100)
Fixes http://autobuild.buildroot.net/results/25e6a0a65d0b75050e02a5748b3f08a80b686188

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

index f0315a4f3763afecccd8852df4d7664d9a8844c1..379f4a5c741f44cc943298685c56e985677c74fd 100644 (file)
@@ -1,11 +1,12 @@
 config BR2_PACKAGE_LIBTORRENT
        bool "libtorrent"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_LIBSIGC
        help
          BitTorrent library written in C++ for *nix
 
          http://libtorrent.rakshasa.no/
 
-comment "libtorrent requires a toolchain with C++ support enabled"
-       depends on !BR2_INSTALL_LIBSTDCPP
+comment "libtorrent requires a toolchain with C++ and threads support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
index 142ff8b41a7ed9950441b5684619dc73e2c78c06..7b21b5af10e9716a46624038f2b6587a1db63a60 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_RTORRENT
        bool "rtorrent"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_LIBCURL
        select BR2_PACKAGE_LIBSIGC
        select BR2_PACKAGE_LIBTORRENT
@@ -12,5 +13,5 @@ config BR2_PACKAGE_RTORRENT
 
          http://libtorrent.rakshasa.no/
 
-comment "rtorrent requires a toolchain with C++ and WCHAR support"
-       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
+comment "rtorrent requires a toolchain with C++, threads and WCHAR support"
+       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)