tcl: disable for static builds
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Sat, 7 Mar 2015 17:10:56 +0000 (17:10 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 8 Mar 2015 08:07:50 +0000 (09:07 +0100)
After discussion on mailing list...

http://lists.busybox.net/pipermail/buildroot/2015-March/121198.html

...we decided to disable tcl for static builds and let someone
interested on it to do the needed changes to add support for static
builds.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/tcl/Config.in

index c3d0d87ef2406e44197d39adf884545f30a562aa..11d46d36a27ae81a06373e2a73da583305b6fa0a 100644 (file)
@@ -4,14 +4,18 @@ config BR2_PACKAGE_TCL
        depends on BR2_USE_MMU
        depends on BR2_INET_IPV6
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       # See this mailing list thread:
+       # http://lists.busybox.net/pipermail/buildroot/2015-March/121198.html
+       depends on !BR2_STATIC_LIBS
        help
          TCL (Tool Command Language) is a simple textual language.
 
          http://www.tcl.tk
 
-comment "tcl needs a toolchain w/ ipv6, threads"
+comment "tcl needs a toolchain w/ ipv6, threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_STATIC_LIBS
 
 if BR2_PACKAGE_TCL