summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-12-28 12:29:59 -0500
committerPeter Foley <pefoley2@verizon.net>2012-12-28 12:30:34 -0500
commit38c57836baeddd3276cdddd4b062f74210f470c2 (patch)
tree650248d5d73b1233af16203c819d6d69c1afd3d1 /i18npool
parent8394c5a19170af5e62ba1a5adc236465e5d65bde (diff)
fix icu deps
Change-Id: I1763b73e80a19244d0fd788580c825c284347a35
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/CustomTarget_breakiterator.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/i18npool/CustomTarget_breakiterator.mk b/i18npool/CustomTarget_breakiterator.mk
index f12b94c4a5b7..fd9b98c4dd33 100644
--- a/i18npool/CustomTarget_breakiterator.mk
+++ b/i18npool/CustomTarget_breakiterator.mk
@@ -33,6 +33,11 @@ i18npool_BIDIR := $(call gb_CustomTarget_get_workdir,i18npool/breakiterator)
$(call gb_CustomTarget_get_target,i18npool/breakiterator) : \
$(i18npool_BIDIR)/dict_ja.cxx $(i18npool_BIDIR)/dict_zh.cxx $(i18npool_BIDIR)/OpenOffice_dat.c
+ifeq ($(SYSTEM_ICU),NO)
+$(call gb_CustomTarget_get_target,i18npool/breakiterator) : \
+ $(call gb_ExternalPackage_get_target,icu)
+endif
+
$(i18npool_BIDIR)/dict_%.cxx : \
$(SRCDIR)/i18npool/source/breakiterator/data/%.dic \
$(call gb_Executable_get_target_for_build,gendict) \