diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-04-18 01:21:31 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-04-18 01:23:51 +0300 |
commit | f06e6513a805d810d3ef8fc9ccf90d1b7cf48c3d (patch) | |
tree | cc24f18f066b0aa0f4f5c77ae4dfb052ce651397 /i18npool/Library_i18npool.mk | |
parent | 4048a810a0c00af2bf94d24243ff02a832f63de3 (diff) |
Use static linking when DISABLE_DYNLOADING (iOS)
Diffstat (limited to 'i18npool/Library_i18npool.mk')
-rw-r--r-- | i18npool/Library_i18npool.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/i18npool/Library_i18npool.mk b/i18npool/Library_i18npool.mk index 96ac0c889e3a..c2738de13589 100644 --- a/i18npool/Library_i18npool.mk +++ b/i18npool/Library_i18npool.mk @@ -136,6 +136,17 @@ $(eval $(call gb_Library_add_exception_objects,i18npool,\ i18npool/source/transliteration/transliteration_OneToOne \ )) +ifeq ($(DISABLE_DYNLOADING),TRUE) +$(call gb_CxxObject_get_target,i18npool/source/localedata/localedata): $(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_static.hxx + +$(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_static.hxx : $(SRCDIR)/i18npool/source/localedata/genstaticheader.pl + $(PERL) $(SRCDIR)/i18npool/source/localedata/genstaticheader.pl $(patsubst $(SRCDIR)/i18npool/source/localedata/data/%.xml,%,$(shell echo $(SRCDIR)/i18npool/source/localedata/data/*.xml)) >$@ + +$(call gb_CxxObject_get_target,i18npool/source/localedata/localedata) : \ + INCLUDE += -I$(call gb_CustomTarget_get_workdir,i18npool/localedata) + +endif + # collator_unicode.cxx includes generated lrl_include.hxx $(call gb_CxxObject_get_target,i18npool/source/collator/collator_unicode) : \ INCLUDE += -I$(call gb_CustomTarget_get_workdir,i18npool/collator) |