chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
eef51b4
)
test-load targets: Use strip to sanitise whitespace in OTHER_DIRS so that the subst...
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 9 Jun 2016 12:12:45 +0000
(13:12 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 9 Jun 2016 12:14:20 +0000
(13:14 +0100)
base/extension.make
patch
|
blob
|
history
diff --git
a/base/extension.make
b/base/extension.make
index a881a9eec8be8cbc701d4eae3b90f0d1f4a1922e..4da0272b0aac6365ffb0502829d337d4cebc0553 100644
(file)
--- 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
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
tclsh$(TCL_VERSION) $(SHLIB).test.tcl
include $(BASE_DIR)/final.make