From a3466b322998a623a15907a5c3520b4f30d1c050 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 9 Jun 2016 13:12:45 +0100 Subject: [PATCH 1/1] test-load targets: Use strip to sanitise whitespace in OTHER_DIRS so that the subst DTRT --- base/extension.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/extension.make b/base/extension.make index a881a9e..4da0272 100644 --- a/base/extension.make +++ b/base/extension.make @@ -52,7 +52,7 @@ $(SHLIB).test.tcl: echo >$@ "load $(SHLIB).so" test-load: $(SHLIB).so $(SHLIB).test.tcl - LD_LIBRARY_PATH=$(subst $(space),:,$(OTHER_DIRS))$${LD_LIBRARY_PATH+:}$${LD_LIBRARY_PATH} \ + LD_LIBRARY_PATH=$(subst $(space),:,$(strip $(OTHER_DIRS)))$${LD_LIBRARY_PATH+:}$${LD_LIBRARY_PATH} \ tclsh$(TCL_VERSION) $(SHLIB).test.tcl include $(BASE_DIR)/final.make -- 2.30.2