Skip to content

Commit 0d72d6b

Browse files
committed
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.
1 parent 95787e8 commit 0d72d6b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/bin/pg_basebackup/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ OBJS = \
3535
streamutil.o \
3636
walmethods.o
3737

38+
# If you add or remove files here, also update Mkvcbuild.pm, which only knows
39+
# about OBJS, not BBOBJS, and thus has to be manually updated to stay in sync
40+
# with this list.
3841
BBOBJS = \
3942
pg_basebackup.o \
4043
bbstreamer_file.o \

src/tools/msvc/Mkvcbuild.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ sub mkvcbuild
377377
# This list of files has to match BBOBJS in pg_basebackup's Makefile.
378378
$pgbasebackup->AddFile('src/bin/pg_basebackup/pg_basebackup.c');
379379
$pgbasebackup->AddFile('src/bin/pg_basebackup/bbstreamer_file.c');
380+
$pgbasebackup->AddFile('src/bin/pg_basebackup/bbstreamer_gzip.c');
380381
$pgbasebackup->AddFile('src/bin/pg_basebackup/bbstreamer_inject.c');
381382
$pgbasebackup->AddFile('src/bin/pg_basebackup/bbstreamer_tar.c');
382383
$pgbasebackup->AddLibrary('ws2_32.lib');

0 commit comments

Comments
 (0)