MSVC: Accept tcl86.lib in addition to tcl86t.lib.
authorNoah Misch
Mon, 24 Jul 2017 06:53:27 +0000 (23:53 -0700)
committerNoah Misch
Mon, 24 Jul 2017 06:53:51 +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 57569f1f370505e5b0dd5d3cdc418ced268a4d7b..603922a553ddb7a75a0fd9f302f0e18f2dae8865 100644 (file)
@@ -255,7 +255,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)