Best-guess attempt at fixing MSVC build for 68ab8e8ba4.

pgbench now needs to use src/bin/psql/psqlscan.l, but it's not very clear
how to fit that into the MSVC build system.  If this doesn't work I'm going
to need some help from somebody who actually understands those scripts ...
This commit is contained in:
Tom Lane 2016-03-20 17:51:54 -04:00
parent 68ab8e8ba4
commit 6f1f34c92b
1 changed files with 4 additions and 2 deletions

View File

@ -62,11 +62,13 @@ my $frontend_extralibs = {
'psql' => ['ws2_32.lib'] };
my $frontend_extraincludes = {
'initdb' => ['src/timezone'],
'psql' => [ 'src/bin/pg_dump', 'src/backend' ] };
'psql' => [ 'src/bin/pg_dump', 'src/backend' ],
'pgbench' => [ 'src/bin/psql' ] };
my $frontend_extrasource = {
'psql' => ['src/bin/psql/psqlscan.l', 'src/bin/psql/psqlscanslash.l'],
'pgbench' =>
[ 'src/bin/pgbench/exprscan.l', 'src/bin/pgbench/exprparse.y' ], };
[ 'src/bin/pgbench/exprscan.l', 'src/bin/pgbench/exprparse.y',
'src/bin/psql/psqlscan.l' ] };
my @frontend_excludes = (
'pgevent', 'pg_basebackup', 'pg_rewind', 'pg_dump',
'pg_xlogdump', 'scripts');