]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
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:55 +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 7a73e58e497208ff982a0472628b3e4b65915252..5156bf02dfbf4a53d56e9d3b5f71b229e392e326 100644 (file)
@@ -231,7 +231,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)