]> granicus.if.org Git - postgresql/commitdiff
Tweak MSVC build system to match changes in 7143b3e82.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Sep 2018 19:49:05 +0000 (15:49 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Sep 2018 19:49:05 +0000 (15:49 -0400)
Looks like we need to pull in $libpgcommon in a couple more
places than before.

Per buildfarm.

src/tools/msvc/Mkvcbuild.pm

index 4d436d3e7ac333b8b6ff5dd812c36cf3e55981d9..59bed3b8a8606fb998552d6dae9fc1d35e9b95c0 100644 (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');