Blind attempt at fixing Windows build
authorAlvaro Herrera <[email protected]>
Tue, 12 Feb 2019 21:29:26 +0000 (18:29 -0300)
committerAlvaro Herrera <[email protected]>
Tue, 12 Feb 2019 21:29:26 +0000 (18:29 -0300)
Broken since fe33a196de.

src/tools/msvc/Solution.pm

index e4bb9d2394d7d5c4474385ff4c6c0fad490a42c6..2ea224d7708c7451308f034ba8e1440fa6eda509 100644 (file)
@@ -276,7 +276,7 @@ sub GenerateFiles
        || IsNewer('fmgr-stamp', '../../../src/include/access/transam.h'))
    {
        system(
-           "perl -I ../catalog Gen_fmgrtab.pl -I../../../src/include/ $pg_proc_dat"
+           "perl -I ../catalog Gen_fmgrtab.pl --include-path ../../../src/include/ $pg_proc_dat"
        );
        open(my $f, '>', 'fmgr-stamp')
          || confess "Could not touch fmgr-stamp";
@@ -527,7 +527,7 @@ EOF
    {
        chdir('src/backend/catalog');
        my $bki_srcs = join(' ../../../src/include/catalog/', @bki_srcs);
-       system("perl genbki.pl  -I../../../src/include/ --set-version=$self->{majorver} $bki_srcs");
+       system("perl genbki.pl --include-path ../../../src/include/ --set-version=$self->{majorver} $bki_srcs");
        open(my $f, '>', 'bki-stamp')
          || confess "Could not touch bki-stamp";
        close($f);