Add bbstreamer_gzip.c to Mkvcbuild.pm.

Also add a note to src/bin/pg_basebackup/Makefile to try to reduce
the chances of future mistakes of this type.

Per bowerbird.
This commit is contained in:
Robert Haas 2022-01-28 16:15:58 -05:00
parent 95787e849b
commit 0d72d6b341
2 changed files with 4 additions and 0 deletions

View file

@ -35,6 +35,9 @@ OBJS = \
streamutil.o \
walmethods.o
# If you add or remove files here, also update Mkvcbuild.pm, which only knows
# about OBJS, not BBOBJS, and thus has to be manually updated to stay in sync
# with this list.
BBOBJS = \
pg_basebackup.o \
bbstreamer_file.o \

View file

@ -377,6 +377,7 @@ sub mkvcbuild
# This list of files has to match BBOBJS in pg_basebackup's Makefile.
$pgbasebackup->AddFile('src/bin/pg_basebackup/pg_basebackup.c');
$pgbasebackup->AddFile('src/bin/pg_basebackup/bbstreamer_file.c');
$pgbasebackup->AddFile('src/bin/pg_basebackup/bbstreamer_gzip.c');
$pgbasebackup->AddFile('src/bin/pg_basebackup/bbstreamer_inject.c');
$pgbasebackup->AddFile('src/bin/pg_basebackup/bbstreamer_tar.c');
$pgbasebackup->AddLibrary('ws2_32.lib');