From: Tom Lane Date: Fri, 28 Sep 2018 19:49:05 +0000 (-0400) Subject: Tweak MSVC build system to match changes in 7143b3e82. X-Git-Tag: REL_12_BETA1~1478 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61f14cc8c85b5e6186c3b86c2c929821d7b33589;p=postgresql Tweak MSVC build system to match changes in 7143b3e82. Looks like we need to pull in $libpgcommon in a couple more places than before. Per buildfarm. --- diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm index 4d436d3e7a..59bed3b8a8 100644 --- a/src/tools/msvc/Mkvcbuild.pm +++ b/src/tools/msvc/Mkvcbuild.pm @@ -240,7 +240,7 @@ sub mkvcbuild $libpq->UseDef('src/interfaces/libpq/libpqdll.def'); $libpq->ReplaceFile('src/interfaces/libpq/libpqrc.c', 'src/interfaces/libpq/libpq.rc'); - $libpq->AddReference($libpgport); + $libpq->AddReference($libpgcommon, $libpgport); # The OBJS scraper doesn't know about ifdefs, so remove appropriate files # if building without OpenSSL. @@ -264,7 +264,7 @@ sub mkvcbuild 'libpgtypes', 'dll', 'interfaces', 'src/interfaces/ecpg/pgtypeslib'); $pgtypes->AddDefine('FRONTEND'); - $pgtypes->AddReference($libpgport); + $pgtypes->AddReference($libpgcommon, $libpgport); $pgtypes->UseDef('src/interfaces/ecpg/pgtypeslib/pgtypeslib.def'); $pgtypes->AddIncludeDir('src/interfaces/ecpg/include');