| 1 |
Patch by Chris Waters sets paths which are normally point to a directory |
| 2 |
with Tcl sources to a subdirectory of /usr/include/tcl8.6 (debian/rules |
| 3 |
puts private Tcl headers there). |
| 4 |
|
| 5 |
--- a/unix/tclConfig.sh.in |
| 6 |
+++ b/unix/tclConfig.sh.in |
| 7 |
@@ -100,7 +100,7 @@ |
| 8 |
|
| 9 |
# String to pass to linker to pick up the Tcl library from its |
| 10 |
# build directory. |
| 11 |
-TCL_BUILD_LIB_SPEC='@TCL_BUILD_LIB_SPEC@' |
| 12 |
+TCL_BUILD_LIB_SPEC='@TCL_LIB_SPEC@' |
| 13 |
|
| 14 |
# String to pass to linker to pick up the Tcl library from its |
| 15 |
# installed directory. |
| 16 |
@@ -135,7 +135,7 @@ |
| 17 |
# different place than the directory containing the source files, this |
| 18 |
# points to the location of the sources, not the location where Tcl was |
| 19 |
# compiled. |
| 20 |
-TCL_SRC_DIR='@TCL_SRC_DIR@' |
| 21 |
+TCL_SRC_DIR='@includedir@/tcl-private' |
| 22 |
|
| 23 |
# List of standard directories in which to look for packages during |
| 24 |
# "package require" commands. Contains the "prefix" directory plus also |
| 25 |
@@ -153,14 +153,14 @@ |
| 26 |
|
| 27 |
# String to pass to linker to pick up the Tcl stub library from its |
| 28 |
# build directory. |
| 29 |
-TCL_BUILD_STUB_LIB_SPEC='@TCL_BUILD_STUB_LIB_SPEC@' |
| 30 |
+TCL_BUILD_STUB_LIB_SPEC='@TCL_STUB_LIB_SPEC@' |
| 31 |
|
| 32 |
# String to pass to linker to pick up the Tcl stub library from its |
| 33 |
# installed directory. |
| 34 |
TCL_STUB_LIB_SPEC='@TCL_STUB_LIB_SPEC@' |
| 35 |
|
| 36 |
# Path to the Tcl stub library in the build directory. |
| 37 |
-TCL_BUILD_STUB_LIB_PATH='@TCL_BUILD_STUB_LIB_PATH@' |
| 38 |
+TCL_BUILD_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@' |
| 39 |
|
| 40 |
# Path to the Tcl stub library in the install directory. |
| 41 |
TCL_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@' |