]> granicus.if.org Git - postgresql/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:37 +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 57af0a0a950190d1287d8ba618c8a8d1b5a91a7a..6285aab2b65f934417242fa97332769b0c5d94f6 100644 (file)
@@ -200,7 +200,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)