Remove seemingly unneeded include directory in MSVC scripts
authorDavid Rowley
Wed, 28 Jul 2021 00:56:43 +0000 (12:56 +1200)
committerDavid Rowley
Wed, 28 Jul 2021 00:56:43 +0000 (12:56 +1200)
This appears to have been added way back in ee3b4188a but it's a little
unclear why the change made in that commit is even needed given that
320c7eb8c, dated 18 months earlier, added code to copy fmgroids.h to
src/include/utils.

amcheck seems to get away without adding the additional include directory,
so perhaps dblink can get away with it too.

This builds ok in my VS2017 environment, but the buildfarm may serve as a
reminder about why ee3b4188a was required.  There's only one way to find
out for sure.

Discussion: https://postgr.es/m/CAApHDvpo6g5csCTjc_0C7DMvgFPomVb0Rh-AcW5afd=Ya=LRuw@mail.gmail.com

src/tools/msvc/Mkvcbuild.pm

index 233ddbf4c25ca4984db0385d861834bd36de3654..4c36e482fbfbc23fb24c28c35f80cd5e14fb29c9 100644 (file)
@@ -41,7 +41,7 @@ my @contrib_uselibpq =
 my @contrib_uselibpgport   = ('libpq_pipeline', 'oid2name', 'vacuumlo');
 my @contrib_uselibpgcommon = ('libpq_pipeline', 'oid2name', 'vacuumlo');
 my $contrib_extralibs     = { 'libpq_pipeline' => ['ws2_32.lib'] };
-my $contrib_extraincludes = { 'dblink'         => ['src/backend'] };
+my $contrib_extraincludes = {};
 my $contrib_extrasource   = {
    'cube' => [ 'contrib/cube/cubescan.l', 'contrib/cube/cubeparse.y' ],
    'seg'  => [ 'contrib/seg/segscan.l',   'contrib/seg/segparse.y' ],