diff options
author | hobbs <hobbs> | 1999-11-03 02:00:43 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 1999-11-03 02:00:43 (GMT) |
commit | 72aebeb0e0a8853e2c1417c5c2d1b732ee6afd6d (patch) | |
tree | 408dadb5b2160c13a86d35068d3bdf8389bf13f1 /library | |
parent | 3043b7b021a56924c33f1309d9b7359094e4d1e1 (diff) | |
download | tcl-72aebeb0e0a8853e2c1417c5c2d1b732ee6afd6d.zip tcl-72aebeb0e0a8853e2c1417c5c2d1b732ee6afd6d.tar.gz tcl-72aebeb0e0a8853e2c1417c5c2d1b732ee6afd6d.tar.bz2 |
* library/dde1.1/pkgIndex.tcl:
* library/reg1.0/pkgIndex.tcl: fixed packaging to use the debug
versions of the libraries when compiled with symbols [Bug: 3254]
Diffstat (limited to 'library')
-rw-r--r-- | library/dde/pkgIndex.tcl | 6 | ||||
-rw-r--r-- | library/dde1.1/pkgIndex.tcl | 6 | ||||
-rwxr-xr-x | library/reg/pkgIndex.tcl | 8 | ||||
-rwxr-xr-x | library/reg1.0/pkgIndex.tcl | 8 |
4 files changed, 24 insertions, 4 deletions
diff --git a/library/dde/pkgIndex.tcl b/library/dde/pkgIndex.tcl index a78dc93..437898d 100644 --- a/library/dde/pkgIndex.tcl +++ b/library/dde/pkgIndex.tcl @@ -1 +1,5 @@ -package ifneeded dde 1.1 "load [list [file join $dir tcldde82.dll]] dde"
+if {[info exists tcl_platform(debug)]} { + package ifneeded dde 1.1 [list load [file join $dir tcldde82d.dll] dde] +} else { + package ifneeded dde 1.1 [list load [file join $dir tcldde82.dll] dde] +} diff --git a/library/dde1.1/pkgIndex.tcl b/library/dde1.1/pkgIndex.tcl index a78dc93..437898d 100644 --- a/library/dde1.1/pkgIndex.tcl +++ b/library/dde1.1/pkgIndex.tcl @@ -1 +1,5 @@ -package ifneeded dde 1.1 "load [list [file join $dir tcldde82.dll]] dde"
+if {[info exists tcl_platform(debug)]} { + package ifneeded dde 1.1 [list load [file join $dir tcldde82d.dll] dde] +} else { + package ifneeded dde 1.1 [list load [file join $dir tcldde82.dll] dde] +} diff --git a/library/reg/pkgIndex.tcl b/library/reg/pkgIndex.tcl index 26b9e5b..db8a5ef 100755 --- a/library/reg/pkgIndex.tcl +++ b/library/reg/pkgIndex.tcl @@ -1 +1,7 @@ -package ifneeded registry 1.0 "load [list [file join $dir tclreg82.dll]] registry"
+if {[info exists tcl_platform(debug)]} { + package ifneeded registry 1.0 \ + [list load [file join $dir tclreg82d.dll] registry] +} else { + package ifneeded registry 1.0 \ + [list load [file join $dir tclreg82.dll] registry] +} diff --git a/library/reg1.0/pkgIndex.tcl b/library/reg1.0/pkgIndex.tcl index 26b9e5b..db8a5ef 100755 --- a/library/reg1.0/pkgIndex.tcl +++ b/library/reg1.0/pkgIndex.tcl @@ -1 +1,7 @@ -package ifneeded registry 1.0 "load [list [file join $dir tclreg82.dll]] registry"
+if {[info exists tcl_platform(debug)]} { + package ifneeded registry 1.0 \ + [list load [file join $dir tclreg82d.dll] registry] +} else { + package ifneeded registry 1.0 \ + [list load [file join $dir tclreg82.dll] registry] +} |