diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-25 11:06:31 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-08-25 11:06:31 (GMT) |
commit | c5d86c1b291b4db986c0d8b8087bf8d679e0bdf8 (patch) | |
tree | 677cef477b81d54c3d6ef46acbe16a73ad93bd49 /library | |
parent | 237c1409508ccddabf7671db08ce9b15bbcabaf1 (diff) | |
download | tcl-c5d86c1b291b4db986c0d8b8087bf8d679e0bdf8.zip tcl-c5d86c1b291b4db986c0d8b8087bf8d679e0bdf8.tar.gz tcl-c5d86c1b291b4db986c0d8b8087bf8d679e0bdf8.tar.bz2 |
Fix for TIP #430/#595 corner-case: tcl_findLibrary should use correct library name when running in Tcl 9.
Diffstat (limited to 'library')
-rw-r--r-- | library/auto.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/auto.tcl b/library/auto.tcl index dc37328..0d30011 100644 --- a/library/auto.tcl +++ b/library/auto.tcl @@ -108,7 +108,7 @@ proc tcl_findLibrary {basename version patch initScript enVarName varName} { catch {lappend paths [::tcl::pkgconfig get bindir,runtime]} } if {[catch {::${basename}::pkgconfig get dllfile,runtime} dllfile]} { - set dllfile "lib${basename}${version}[info sharedlibextension]" + set dllfile "libtcl9${basename}${version}[info sharedlibextension]" } set dir [file dirname [file join [pwd] [info nameofexecutable]]] lappend paths $dir |