summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-11-19 16:06:49 +0200
committerTor Lillqvist <tml@collabora.com>2015-11-19 16:07:59 +0200
commitc4db7aa8ac9b0db07d6143e8f8149293b17b6f3c (patch)
tree0ddd7617af2583ec11b54182ae970cbf126a02d5 /RepositoryExternal.mk
parent1d6480d5c4bc3e37445887b41b810aab613e6990 (diff)
Don't register a glyphy package if we aren't actually building it
Hopefully fixes the Mac tb. Change-Id: I4786e060009e5232fc7d5ae200fec15334411c57
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index c87e0e4e12e5..302126bc72fc 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -284,9 +284,9 @@ $(call gb_LinkTarget_add_libs,$(1),$(GLYPHY_LIBS))
endef
else # !SYSTEM_GLYPHY
-$(eval $(call gb_Helper_register_packages_for_install,ooo,\
+$(eval $(gb_Helper_optional,GLYPHY,$(call gb_Helper_register_packages_for_install,ooo,\
glyphy \
-))
+)))
define gb_LinkTarget__use_glyphy
$(call gb_LinkTarget_use_package,$(1),glyphy)