Skip to content

Commit 6f1f34c

Browse files
committed
Best-guess attempt at fixing MSVC build for 68ab8e8.
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 ...
1 parent 68ab8e8 commit 6f1f34c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/tools/msvc/Mkvcbuild.pm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ my $frontend_extralibs = {
6262
'psql' => ['ws2_32.lib'] };
6363
my $frontend_extraincludes = {
6464
'initdb' => ['src/timezone'],
65-
'psql' => [ 'src/bin/pg_dump', 'src/backend' ] };
65+
'psql' => [ 'src/bin/pg_dump', 'src/backend' ],
66+
'pgbench' => [ 'src/bin/psql' ] };
6667
my $frontend_extrasource = {
6768
'psql' => ['src/bin/psql/psqlscan.l', 'src/bin/psql/psqlscanslash.l'],
6869
'pgbench' =>
69-
[ 'src/bin/pgbench/exprscan.l', 'src/bin/pgbench/exprparse.y' ], };
70+
[ 'src/bin/pgbench/exprscan.l', 'src/bin/pgbench/exprparse.y',
71+
'src/bin/psql/psqlscan.l' ] };
7072
my @frontend_excludes = (
7173
'pgevent', 'pg_basebackup', 'pg_rewind', 'pg_dump',
7274
'pg_xlogdump', 'scripts');

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy