summaryrefslogtreecommitdiff
path: root/i18nlangtag/Module_i18nlangtag.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-21 09:37:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-21 09:39:12 +0100
commit98d47a3cd6bbcdf56365c48ea02b94b0ade72220 (patch)
tree725493a5eadb18d0616a413381d069f85ed5349d /i18nlangtag/Module_i18nlangtag.mk
parentcf530f290d30e4f4decc143feebfdec9b3e0bc65 (diff)
don't build localestr when cross-compiling
Change-Id: Ia776d159aecc3082f46efe5bdd46477b45576b31
Diffstat (limited to 'i18nlangtag/Module_i18nlangtag.mk')
-rw-r--r--i18nlangtag/Module_i18nlangtag.mk8
1 files changed, 8 insertions, 0 deletions
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 \
))