summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-12-25 17:39:43 -0500
committerTor Lillqvist <tml@iki.fi>2012-12-27 15:53:39 +0000
commitb92a0d9208e1b1a33818a3c451e9952963295f6c (patch)
treef468dbf463d43f6f43b56e0a0eed7bec84f00a5b /RepositoryExternal.mk
parente7f7053b227cf109c3cf733d0c698e51aed159a3 (diff)
convert icu to gbuild and add to tail_build
Change-Id: Id7d8bc05b1393cc2bae4a531c8a47f62df24b1d6 Reviewed-on: https://gerrit.libreoffice.org/1488 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk13
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, \