summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-10-14 15:06:55 +0200
committerTor Lillqvist <tml@collabora.com>2015-11-19 14:05:26 +0200
commit8311c6ed4970d22e7a6459fa7ed2779560e5e11d (patch)
tree9cb5127a66e439955312e250e33b7768921ae0b4 /RepositoryExternal.mk
parentef0155814e096be38ac4511a3628e3e1a4d18da3 (diff)
link vcl against libglyphy
Change-Id: I5b206f5d857d28acda82ce8ac53f835142f46da2
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 42f53dbb4ea9..64e48acee186 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -272,6 +272,30 @@ endef
endif # SYSTEM_GLEW
+$(eval $(call gb_Helper_register_packages_for_install,ooo,\
+ liborcus \
+))
+
+ifneq ($(SYSTEM_GLEW),)
+
+else # !SYSTEM_GLYPHY
+
+define gb_LinkTarget__use_glyphy
+$(call gb_LinkTarget_use_package,$(1),glyphy)
+
+$(call gb_LinkTarget_set_include,$(1),\
+ -I$(call gb_UnpackedTarball_get_dir,glyphy/include) \
+ $$(INCLUDE) \
+)
+
+$(call gb_LinkTarget_add_libs,$(1),\
+ -L$(call gb_UnpackedTarball_get_dir,glyphy)/src/.libs -lglyphy \
+)
+
+endef
+
+endif GLYPHY
+
define gb_LinkTarget__use_iconv
$(call gb_LinkTarget_add_libs,$(1),-liconv)