Commit 326d73c8 authored by Andres Freund's avatar Andres Freund

Second attempt at fixing MSVC build for 68ab8e8b.

After the previous fix in 6f1f34c9 msvc ended up looking for psqlscan.c
in the wrong directory.

David's fix just forces the path to be adjusted. That's not a
particularly pretty fix, but it hopefully will make the buildfarm green
again.

Author: David Rowley
Discussion: CAKJS1f_9CCi_t+LEgV5GWoCj3wjavcMoDc5qfcf_A0UwpQoPoA@mail.gmail.com
parent b6afae71
......@@ -71,7 +71,7 @@ my $frontend_extrasource = {
'src/bin/psql/psqlscan.l' ] };
my @frontend_excludes = (
'pgevent', 'pg_basebackup', 'pg_rewind', 'pg_dump',
'pg_xlogdump', 'scripts');
'pg_xlogdump', 'scripts', 'pgbench');
sub mkvcbuild
{
......@@ -674,6 +674,11 @@ sub mkvcbuild
}
$pg_xlogdump->AddFile('src/backend/access/transam/xlogreader.c');
# fix up pgbench once it's been set up
# we're borrowing psqlscan.c from psql, so grab it from the correct place
my $pgbench = AddSimpleFrontend('pgbench');
$pgbench->ReplaceFile('src/bin/pgbench/psqlscan.c', 'src/bin/psql/psqlscan.c');
$solution->Save();
return $solution->{vcver};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment