summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-02-19 15:23:17 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-02-19 15:23:17 (GMT)
commit2ac83dd9279add3adfb650850b19ab0c3d42cbb1 (patch)
tree8f7b93612b5164da70947f6576c13392e81094d0
parent6bec692f9790021e937f612f71ea90ae42512659 (diff)
downloadbuildroot-2ac83dd9279add3adfb650850b19ab0c3d42cbb1.tar.gz
buildroot-2ac83dd9279add3adfb650850b19ab0c3d42cbb1.tar.bz2
libtorrent: needs threads support
Fixes http://autobuild.buildroot.net/results/25e6a0a65d0b75050e02a5748b3f08a80b686188 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/libtorrent/Config.in5
-rw-r--r--package/rtorrent/Config.in5
2 files changed, 6 insertions, 4 deletions
diff --git a/package/libtorrent/Config.in b/package/libtorrent/Config.in
index f0315a4..379f4a5 100644
--- a/package/libtorrent/Config.in
+++ b/package/libtorrent/Config.in
@@ -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
diff --git a/package/rtorrent/Config.in b/package/rtorrent/Config.in
index 142ff8b..7b21b5a 100644
--- a/package/rtorrent/Config.in
+++ b/package/rtorrent/Config.in
@@ -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)