Skip to contentSkip to conversation

package/mono: fixing missing locale

PATCH Superseded Angelo Compagnucci 2 participants 2 messages Jul 27, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mono: fixing missing locale

This patch fixes compilation error in case of a missing locale in toolchain.

       http://autobuild.buildroot.net/results/3ff839e894f0b8f9c2e3af9629d45e8efc09aecd/
       http://autobuild.buildroot.net/results/5e11117048d965bc1fc44c738bb51f11164304af/
---
 package/mono/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/mono/Config.in +1 -0
index 4445f4b..0c7129b 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_MONO
 	bool "mono"
 	depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	help
 	  An open source, cross-platform, implementation of C#
 	  and the CLR that is binary compatible with Microsoft.NET.
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 package/mono: fixing missing locale

Dear Angelo Compagnucci,

Quoted 16 lines · Angelo Compagnucci

This patch fixes compilation error in case of a missing locale in toolchain.

       http://autobuild.buildroot.net/results/3ff839e894f0b8f9c2e3af9629d45e8efc09aecd/
       http://autobuild.buildroot.net/results/5e11117048d965bc1fc44c738bb51f11164304af/
---
 package/mono/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/mono/Config.in +0 -0
index 4445f4b..0c7129b 100644

package/mono/Config.in config BR2_PACKAGE_MONO · line 13

Quoted 7 lines
package/mono/Config.in +1 -0
@@ -7,6 +7,7 @@ config BR2_PACKAGE_MONO
 	bool "mono"
 	depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	help
 	  An open source, cross-platform, implementation of C#
 	  and the CLR that is binary compatible with Microsoft.NET.

This is not sufficient, as it does not guarantee that libiconv will be built before mono. So you also need to modify the .mk file:

ifeq ($(BR2_PACKAGE_LIBICONV),y)
MONO_DEPENDENCIES += libiconv
endif

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com