From b1aa69af4e1e78433e376e654a7f908775c4b733 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 9 Sep 2011 07:29:36 +0200 Subject: avoid the need for calling eval here --- solenv/gbuild/CppunitTest.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'solenv') diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index bdd03cc26786..220b2604184b 100644 --- a/solenv/gbuild/CppunitTest.mk +++ b/solenv/gbuild/CppunitTest.mk @@ -134,20 +134,24 @@ endef define gb_CppunitTest_add_type_rdb $(call gb_CppunitTest_get_target,$(1)) : $(call gb_CppunitTest__get_uno_type_target,$(2)) $(call gb_CppunitTest_get_target,$(1)) : UNO_TYPES += $(2) + endef define gb_CppunitTest_add_type_rdbs -$(foreach rdb,$(2),$(eval $(call gb_CppunitTest_add_type_rdb,$(1),$(rdb)))) +$(foreach rdb,$(2),$(call gb_CppunitTest_add_type_rdb,$(1),$(rdb))) + endef define gb_CppunitTest_add_service_rdb $(call gb_CppunitTest_get_target,$(1)) : $(call gb_RdbTarget_get_target,$(2)) $(call gb_CppunitTest_get_clean_target,$(1)) : $(call gb_RdbTarget_get_clean_target,$(2)) $(call gb_CppunitTest_get_target,$(1)) : UNO_SERVICES += $(2) + endef define gb_CppunitTest_add_service_rdbs -$(foreach rdb,$(2),$(eval $(call gb_CppunitTest_add_service_rdb,$(1),$(rdb)))) +$(foreach rdb,$(2),$(call gb_CppunitTest_add_service_rdb,$(1),$(rdb))) + endef define gb_CppunitTest__forward_to_Linktarget -- cgit