mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Second attempt at fixing MSVC build for 68ab8e8ba4a471d9.
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
This commit is contained in:
parent
b6afae71aa
commit
326d73c86f
@ -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};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user