package/mono: add threads dependency
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Fri, 31 Oct 2014 14:01:51 +0000 (15:01 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Nov 2014 17:19:57 +0000 (18:19 +0100)
This patch adds a dependency on BR2_TOOLCHAIN_HAS_THREADS to the mono
package, in order to fix the following autobuilder failures:

  http://autobuild.buildroot.net/results/ece/ece1051cb9238735130b29f76d90a4994058345a/
  http://autobuild.buildroot.net/results/658/65850774d4c6b875cb6ebbf461dcc48cf8208f4f/
  http://autobuild.buildroot.net/results/5d5/5d5074aa73e167099410d244a18114dbced348d1/

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mono/Config.in

index f8f4895fc922f64b9596340f8bdabdcfa25d3972..cc015e64f78288da6e5c5ce18a31b8ca27ac0d0d 100644 (file)
@@ -7,6 +7,7 @@ config BR2_PACKAGE_MONO
        bool "mono"
        depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
        depends on BR2_INET_IPV6
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_MONO_45 if !BR2_PACKAGE_MONO_20 && !BR2_PACKAGE_MONO_40
        help
          An open source, cross-platform, implementation of C#
@@ -36,5 +37,5 @@ config BR2_PACKAGE_MONO_45
 
 endif
 
-comment "mono needs a toolchain w/ IPv6"
-       depends on !BR2_INET_IPV6
+comment "mono needs a toolchain w/ IPv6, threads"
+       depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS