summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-06-26 12:01:09 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-26 12:03:26 +0200
commit0d4cd11c74cf90cd3b987f628031d02fe3af47b4 (patch)
tree2e57a4c1993bd2438685b7cb282d28926f102dec /solenv
parente818f8fa1f79c2eb2d647678333b8d12599dda69 (diff)
gbuild: add gb_CppunitTest_use_executable
and use it in sdext/CppunitTest_pdfimport.mk, which could fail previously in a parallel build. Change-Id: I3f251c945f5841c277a71a19fd411ecd77dec3b5
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/CppunitTest.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index b8b867251207..bc522be843b2 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -307,6 +307,10 @@ $(foreach extra,$(2),$(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(extr
endef
+define gb_CppunitTest_use_executable
+$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Executable_get_target,$(2))
+endef
+
define gb_CppunitTest__forward_to_Linktarget
gb_CppunitTest_$(1) = $$(call gb_LinkTarget_$(1),$$(call gb_CppunitTest__get_linktargetname,$$(1)),$$(2),$$(3),CppunitTest_$$(1))