]> 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:46 +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 6085ae5a387e3a9b7b56331e19695dc2d0df5d6c..ca317df98e5be0e94687b25c4c699fd4a5e39de7 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)