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.
This commit is contained in:
Tom Lane 2018-09-28 15:49:05 -04:00
parent 97c6852ff7
commit 61f14cc8c8

View File

@ -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');