[Libreoffice-commits] core.git: i18nlangtag/Module_i18nlangtag.mk

Caolán McNamara caolanm at redhat.com
Fri Jul 21 08:39:52 UTC 2017


 i18nlangtag/Module_i18nlangtag.mk |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 98d47a3cd6bbcdf56365c48ea02b94b0ade72220
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 21 09:37:26 2017 +0100

    don't build localestr when cross-compiling
    
    Change-Id: Ia776d159aecc3082f46efe5bdd46477b45576b31

diff --git a/i18nlangtag/Module_i18nlangtag.mk b/i18nlangtag/Module_i18nlangtag.mk
index 0aecbc05ffdb..a58f8f9bc608 100644
--- a/i18nlangtag/Module_i18nlangtag.mk
+++ b/i18nlangtag/Module_i18nlangtag.mk
@@ -10,9 +10,17 @@ $(eval $(call gb_Module_Module,i18nlangtag))
 
 $(eval $(call gb_Module_add_targets,i18nlangtag,\
 	Library_i18nlangtag \
+))
+
+ifeq ($(CROSS_COMPILING),)
+
+$(eval $(call gb_Module_add_targets,i18nlangtag,\
 	Executable_localestr \
 ))
 
+endif
+
+
 $(eval $(call gb_Module_add_check_targets,i18nlangtag,\
 	CppunitTest_i18nlangtag_test_languagetag \
 ))


More information about the Libreoffice-commits mailing list