summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tltcl/lib/reg1.3/pkgIndex.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tltcl/lib/reg1.3/pkgIndex.tcl')
-rwxr-xr-xMaster/tlpkg/tltcl/lib/reg1.3/pkgIndex.tcl9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/tlpkg/tltcl/lib/reg1.3/pkgIndex.tcl b/Master/tlpkg/tltcl/lib/reg1.3/pkgIndex.tcl
new file mode 100755
index 00000000000..219e41fe92d
--- /dev/null
+++ b/Master/tlpkg/tltcl/lib/reg1.3/pkgIndex.tcl
@@ -0,0 +1,9 @@
+if {![package vsatisfies [package provide Tcl] 8.5]} return
+if {[info sharedlibextension] != ".dll"} return
+if {[::tcl::pkgconfig get debug]} {
+ package ifneeded registry 1.3.4 \
+ [list load [file join $dir tclreg13g.dll] registry]
+} else {
+ package ifneeded registry 1.3.4 \
+ [list load [file join $dir tclreg13.dll] registry]
+}