summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/dde/pkgIndex.tcl8
-rw-r--r--library/registry/pkgIndex.tcl9
2 files changed, 14 insertions, 3 deletions
diff --git a/library/dde/pkgIndex.tcl b/library/dde/pkgIndex.tcl
index 5d1727d..00a356e 100644
--- a/library/dde/pkgIndex.tcl
+++ b/library/dde/pkgIndex.tcl
@@ -1,3 +1,9 @@
if {![package vsatisfies [package provide Tcl] 8.5-]} return
if {[info sharedlibextension] != ".dll"} return
-package ifneeded dde 1.4.4 [list load [file join $dir tcldde14.dll] Dde]
+if {[package vsatisfies [package provide Tcl] 9.0-]} {
+ package ifneeded dde 1.4.4 \
+ [list load [file join $dir tcl9dde14.dll] Dde]
+} else {
+ package ifneeded dde 1.4.4 \
+ [list load [file join $dir tcldde14.dll] Dde]
+}
diff --git a/library/registry/pkgIndex.tcl b/library/registry/pkgIndex.tcl
index 5c73f30..765f02a 100644
--- a/library/registry/pkgIndex.tcl
+++ b/library/registry/pkgIndex.tcl
@@ -1,4 +1,9 @@
if {![package vsatisfies [package provide Tcl] 8.5-]} return
if {[info sharedlibextension] != ".dll"} return
-package ifneeded registry 1.3.6 \
- [list load [file join $dir tclregistry13.dll] Registry]
+if {[package vsatisfies [package provide Tcl] 9.0-]} {
+ package ifneeded registry 1.3.6 \
+ [list load [file join $dir tcl9registry13.dll] Registry]
+} else {
+ package ifneeded registry 1.3.6 \
+ [list load [file join $dir tclregistry13.dll] Registry]
+}