MSVC: Accept tcl86.lib in addition to tcl86t.lib.
authorNoah Misch <noah@leadboat.com>
Mon, 24 Jul 2017 06:53:27 +0000 (23:53 -0700)
committerNoah Misch <noah@leadboat.com>
Mon, 24 Jul 2017 06:53:27 +0000 (23:53 -0700)
ActiveTcl8.6.4.1.299124-win32-x86_64-threaded.exe ships just tcl86.lib.
Back-patch to 9.2, like the commit recognizing tcl86t.lib.

src/tools/msvc/Mkvcbuild.pm

index 55a431715e49af214d27c5fdd76bad67e50578b9..e0bf60797f70123f144b31304847e4af914be0c3 100644 (file)
@@ -209,7 +209,7 @@ sub mkvcbuild
        $pltcl->AddIncludeDir($solution->{options}->{tcl} . '/include');
        $pltcl->AddReference($postgres);
 
-       for my $tclver (qw(86t 85 84))
+       for my $tclver (qw(86t 86 85 84))
        {
            my $tcllib = $solution->{options}->{tcl} . "/lib/tcl$tclver.lib";
            if (-e $tcllib)