diff options
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 7798c79b28d3..57884e8cb7eb 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -873,6 +873,8 @@ endif # SYSTEM_GRAPHITE ifeq ($(SYSTEM_ICU),YES) +gb_LinkTarget__use_icu_headers:= + define gb_LinkTarget__use_icudata $(call gb_LinkTarget_add_libs,$(1),-licudata) @@ -902,6 +904,17 @@ else gb_ICU_suffix:= endif +define gb_LinkTarget__use_icu_headers +$(call gb_LinkTarget_use_unpacked,$(1),icu) +$(call gb_LinkTarget_set_include,$(1),\ + -I$(call gb_UnpackedTarball_get_dir,icu)/source \ + -I$(call gb_UnpackedTarball_get_dir,icu)/source/common \ + -I$(call gb_UnpackedTarball_get_dir,icu)/source/i18n \ + $$(INCLUDE) \ +) + +endef + # icudata and icui18n is called icudt and icuin when built with MSVC :-/ ifeq ($(OS)$(COM),WNTMSC) $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \ |