Selaa lähdekoodia

iftop: needs threads support

Fixes http://autobuild.buildroot.org/results/f2cb6113c360b8dbf63bafe5ae425921babdf636

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 12 vuotta sitten
vanhempi
commit
142d65c31b
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      package/iftop/Config.in

+ 3 - 2
package/iftop/Config.in

@@ -3,6 +3,7 @@ config BR2_PACKAGE_IFTOP
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_LIBPCAP
 	select BR2_PACKAGE_LIBPCAP
 	depends on BR2_INET_IPV6
 	depends on BR2_INET_IPV6
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	help
 	  iftop does for network usage what top(1) does for CPU usage.
 	  iftop does for network usage what top(1) does for CPU usage.
 	  It listens to network traffic on a named interface and displays
 	  It listens to network traffic on a named interface and displays
@@ -11,5 +12,5 @@ config BR2_PACKAGE_IFTOP
 
 
 	  http://www.ex-parrot.com/pdw/iftop/
 	  http://www.ex-parrot.com/pdw/iftop/
 
 
-comment "iftop requires IPv6 support in toolchain"
-	depends on !BR2_INET_IPV6
+comment "iftop requires IPv6 and threads support in toolchain"
+	depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS