summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i18npool/Executable_gencoll_rule.mk1
-rw-r--r--i18npool/Library_i18npool.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/i18npool/Executable_gencoll_rule.mk b/i18npool/Executable_gencoll_rule.mk
index 568619a6d37f..57c3cfd72b30 100644
--- a/i18npool/Executable_gencoll_rule.mk
+++ b/i18npool/Executable_gencoll_rule.mk
@@ -22,6 +22,7 @@ $(eval $(call gb_Executable_use_libraries,gencoll_rule,\
$(eval $(call gb_Executable_use_externals,gencoll_rule,\
icui18n \
icuuc \
+ $(if $(filter TRUE,$(DISABLE_DYNLOADING)),icudata) \
icu_headers \
))
diff --git a/i18npool/Library_i18npool.mk b/i18npool/Library_i18npool.mk
index f694be0f588e..5da2cd447d2e 100644
--- a/i18npool/Library_i18npool.mk
+++ b/i18npool/Library_i18npool.mk
@@ -35,7 +35,7 @@ $(eval $(call gb_Library_use_externals,i18npool,\
icu_headers \
))
-ifeq ($(OS),IOS)
+ifeq ($(DISABLE_DYNLOADING),TRUE)
$(eval $(call gb_Library_add_cxxflags,i18npool,\
-DDICT_JA_ZH_IN_DATAFILE \
))