package/mono: needs C++
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 12 May 2019 10:45:42 +0000 (12:45 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 13 May 2019 18:53:47 +0000 (20:53 +0200)
mono needs a working C++ compiler to get the exact type of size_t since
version 5.16.0.179 and
https://github.com/mono/mono/commit/d8af77551de1f59803a46946786e0f9a5eb5cb9d

Fixes:
 - http://autobuild.buildroot.org/results/ee6d037154127cc6572f06e9a78bae383ea381bc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mono/Config.in

index a375a98448608bd2ac1be2c0ebea234319ce88b7..0d555bfa82928b273fd0463efa6a551e4baa97e4 100644 (file)
@@ -12,6 +12,7 @@ config BR2_PACKAGE_MONO_ARCH_SUPPORTS
 config BR2_PACKAGE_MONO
        bool "mono"
        depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
+       depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on !BR2_STATIC_LIBS
        help
@@ -20,6 +21,7 @@ config BR2_PACKAGE_MONO
 
          http://download.mono-project.com/sources/mono/
 
-comment "mono needs a toolchain w/ threads, dynamic library"
+comment "mono needs a toolchain w/ C++, threads, dynamic library"
        depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
-       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+       depends on !BR2_INSTALL_LIBSTDCPP || \
+               !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS