Skip to contentSkip to conversation

package/mono: fixing missing locale

PATCH New Angelo Compagnucci 2 participants 3 messages Jul 27, 2015 – Jul 28, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 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/

---
Changes:

v1->v2:
* Added libiconv mono dependency as suggested by Thomas

 package/mono/Config.in | 1 +
 package/mono/mono.mk   | 4 ++++
 2 files changed, 5 insertions(+)
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.
package/mono/mono.mk +4 -0
index 9cb8564..8668aa0 100644
@@ -36,6 +36,10 @@ endef
 
 MONO_POST_INSTALL_TARGET_HOOKS += MONO_INSTALL_LIBS
 
+ifeq ($(BR2_PACKAGE_LIBICONV),y)
+MONO_DEPENDENCIES += libiconv
+endif
+
 MONO_DEPENDENCIES += host-mono
 
 ## Mono managed
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 package/mono: fixing missing locale

Dear Angelo Compagnucci,

Quoted 9 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/

---
Changes:

Applied, thanks.

Thomas

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

PATCH v2 1/1 package/mono: fixing missing locale

In reply to Angelo Compagnucci

Dear Angelo Compagnucci,

Quoted 7 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/

This patch didn't fix the problem. See:

http://autobuild.buildroot.org/results/aeb/aebfbd4e7fe46edbd3798563df28b4d89903becd/build-end.log

This build was done with Git commit 2a2ee97d1698ba1a624fb0b48655e9b17c395263, which does have your patch applied.

Can you have a look?

Thanks,

Thomas

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