summaryrefslogtreecommitdiffstats
path: root/tcl8.6/library/reg/pkgIndex.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tcl8.6/library/reg/pkgIndex.tcl')
-rwxr-xr-xtcl8.6/library/reg/pkgIndex.tcl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tcl8.6/library/reg/pkgIndex.tcl b/tcl8.6/library/reg/pkgIndex.tcl
new file mode 100755
index 0000000..b1fe234
--- /dev/null
+++ b/tcl8.6/library/reg/pkgIndex.tcl
@@ -0,0 +1,9 @@
+if {([info commands ::tcl::pkgconfig] eq "")
+ || ([info sharedlibextension] ne ".dll")} return
+if {[::tcl::pkgconfig get debug]} {
+ package ifneeded registry 1.3.2 \
+ [list load [file join $dir tclreg13g.dll] registry]
+} else {
+ package ifneeded registry 1.3.2 \
+ [list load [file join $dir tclreg13.dll] registry]
+}