gbuild: gb_Helper_extend_ld_path was rather broken...
Change-Id: I03b2d8590fada4709f2223dcd05760bf2fddb196
This commit is contained in:
@@ -187,9 +187,9 @@ endif
|
||||
|
||||
gb_Helper_set_ld_path := $(gb_Helper_LIBRARY_PATH_VAR)=$${$(gb_Helper_LIBRARY_PATH_VAR):+$$$(gb_Helper_LIBRARY_PATH_VAR):}"$(OUTDIR_FOR_BUILD)/lib:$(INSTROOT_FOR_BUILD)/$(LIBO_URE_LIB_FOLDER_FOR_BUILD):$(INSTROOT_FOR_BUILD)/$(LIBO_LIB_FOLDER_FOR_BUILD)"
|
||||
|
||||
# $(1): list of directory pathnames to append at the end of the ld path
|
||||
# $(1): list of : separated directory pathnames to append to the ld path
|
||||
define gb_Helper_extend_ld_path
|
||||
$(gb_Helper_set_ld_path)$(foreach dir,$(1),:$(dir))
|
||||
$(gb_Helper_set_ld_path):$(1)
|
||||
endef
|
||||
|
||||
# Convert path to file URL.
|
||||
|
@@ -279,7 +279,7 @@ endef
|
||||
# CppunitTest class
|
||||
|
||||
gb_CppunitTest_CPPTESTPRECOMMAND := \
|
||||
$(call gb_Helper_extend_ld_path,$(gb_Library_DLLDIR) $(WORKDIR)/UnpackedTarball/cppunit/src/cppunit/.libs)
|
||||
$(call gb_Helper_extend_ld_path,$(gb_Library_DLLDIR):$(WORKDIR)/UnpackedTarball/cppunit/src/cppunit/.libs)
|
||||
gb_CppunitTest_get_filename = libtest_$(1).dylib
|
||||
gb_CppunitTest_get_ilibfilename = $(gb_CppunitTest_get_filename)
|
||||
|
||||
|
Reference in New Issue
Block a user