Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 61f14cc

Browse files
committed
Tweak MSVC build system to match changes in 7143b3e.
Looks like we need to pull in $libpgcommon in a couple more places than before. Per buildfarm.
1 parent 97c6852 commit 61f14cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/msvc/Mkvcbuild.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ sub mkvcbuild
240240
$libpq->UseDef('src/interfaces/libpq/libpqdll.def');
241241
$libpq->ReplaceFile('src/interfaces/libpq/libpqrc.c',
242242
'src/interfaces/libpq/libpq.rc');
243-
$libpq->AddReference($libpgport);
243+
$libpq->AddReference($libpgcommon, $libpgport);
244244

245245
# The OBJS scraper doesn't know about ifdefs, so remove appropriate files
246246
# if building without OpenSSL.
@@ -264,7 +264,7 @@ sub mkvcbuild
264264
'libpgtypes', 'dll',
265265
'interfaces', 'src/interfaces/ecpg/pgtypeslib');
266266
$pgtypes->AddDefine('FRONTEND');
267-
$pgtypes->AddReference($libpgport);
267+
$pgtypes->AddReference($libpgcommon, $libpgport);
268268
$pgtypes->UseDef('src/interfaces/ecpg/pgtypeslib/pgtypeslib.def');
269269
$pgtypes->AddIncludeDir('src/interfaces/ecpg/include');
270270

0 commit comments

Comments
 (0)