Jelajahi Sumber

tcl: disable for static builds

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>
Vicente Olivert Riera 10 tahun lalu
induk
melakukan
7d2ba7116e
1 mengubah file dengan 6 tambahan dan 2 penghapusan
  1. 6 2
      package/tcl/Config.in

+ 6 - 2
package/tcl/Config.in

@@ -4,14 +4,18 @@ config BR2_PACKAGE_TCL
 	depends on BR2_USE_MMU
 	depends on BR2_USE_MMU
 	depends on BR2_INET_IPV6
 	depends on BR2_INET_IPV6
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	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
 	help
 	  TCL (Tool Command Language) is a simple textual language.
 	  TCL (Tool Command Language) is a simple textual language.
 
 
 	  http://www.tcl.tk
 	  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_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
 if BR2_PACKAGE_TCL