summaryrefslogtreecommitdiff
path: root/tcl-8.6.10-tcltests-path-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tcl-8.6.10-tcltests-path-fix.patch')
-rw-r--r--tcl-8.6.10-tcltests-path-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/tcl-8.6.10-tcltests-path-fix.patch b/tcl-8.6.10-tcltests-path-fix.patch
new file mode 100644
index 0000000..62c55e9
--- /dev/null
+++ b/tcl-8.6.10-tcltests-path-fix.patch
@@ -0,0 +1,13 @@
+diff --git a/unix/Makefile.in b/unix/Makefile.in
+index 99bdf05..0b2f660 100644
+--- a/unix/Makefile.in
++++ b/unix/Makefile.in
+@@ -788,7 +788,7 @@ topDirName:
+ # This keeps tcltest from picking up an already installed version of the Tcl
+ # library.
+ SHELL_ENV = @LD_LIBRARY_PATH_VAR@=`pwd`:${@LD_LIBRARY_PATH_VAR@} \
+- TCLLIBPATH="@abs_builddir@/pkgs" \
++ TCLLIBPATH="@abs_builddir@/pkgs @abs_builddir@/../tests" \
+ TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"
+
+ ${TCLTEST_EXE}: ${TCLTEST_OBJS} ${TCL_LIB_FILE} ${TCL_STUB_LIB_FILE} ${BUILD_DLTEST}