summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-01-13 14:24:31 +0100
committerDavid Tardon <dtardon@redhat.com>2016-01-14 19:46:49 +0100
commitc2a119baa7817dac64594613b877dc57e03d8e3f (patch)
tree1e74903a7b1ec4cde5652952227e52458f848529 /RepositoryExternal.mk
parent345135002ae030bd3cd3d4bde594c14affc860a2 (diff)
allow ext. projects to depend on liblangtag
Change-Id: Ic4219428f3dd15fdf4addccca545d68099e2145f
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 24f40c0e6bbb..e59fc164ff31 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -1034,6 +1034,8 @@ $(call gb_LinkTarget_add_libs,$(1),$(LIBLANGTAG_LIBS))
endef
+gb_ExternalProject__use_liblangtag :=
+
else # !SYSTEM_LIBLANGTAG
$(eval $(call gb_Helper_register_packages_for_install,ooo,\
@@ -1051,11 +1053,17 @@ $(call gb_LinkTarget_use_external_project,$(1),langtag)
endef
+define gb_ExternalProject__use_liblangtag
+$(call gb_ExternalProject_use_external_project,$(1),langtag)
+
+endef
+
endif # SYSTEM_LIBLANGTAG
else
gb_LinkTarget__use_liblangtag :=
+gb_ExternalProject__use_liblangtag :=
endif # ENABLE_LIBLANGTAG