tcl: needs threads
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 8 May 2014 21:14:17 +0000 (23:14 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 8 May 2014 21:14:17 +0000 (23:14 +0200)
Fixes http://autobuild.buildroot.net/results/486/48696710a270ac69d6d62654779f164075cb3451/

Tcl itself has a --disable-threads configure flag, but it unconditially
configures its packages with --enable-threads, causing build failure.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/tcl/Config.in

index db41d65004bd9845e4d660937b747eb521bbdc13..c3d0d87ef2406e44197d39adf884545f30a562aa 100644 (file)
@@ -3,14 +3,15 @@ config BR2_PACKAGE_TCL
        # fork()
        depends on BR2_USE_MMU
        depends on BR2_INET_IPV6
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          TCL (Tool Command Language) is a simple textual language.
 
          http://www.tcl.tk
 
-comment "tcl needs a toolchain w/ ipv6"
+comment "tcl needs a toolchain w/ ipv6, threads"
        depends on BR2_USE_MMU
-       depends on !BR2_INET_IPV6
+       depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
 
 if BR2_PACKAGE_TCL