postgres.git / summary / log / commit / refs

commit    0d72d6b341f0d11674c7efb269f2d824c983c35d
Author:   Robert Haas <rhaas@postgresql.org>
Date:     Fri Jan 28 21:15:58 2022 +0000
First released in: 15.0

    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.


src/bin/pg_basebackup/Makefile | 3 +++ src/tools/msvc/Mkvcbuild.pm | 1 + 2 files changed, 4 insertions(+) diff --git a/src/bin/pg_basebackup/Makefile b/src/bin/pg_basebackup/Makefile index 78d96c649c1..ada3a5a5783 100644 --- a/src/bin/pg_basebackup/Makefile +++ b/src/bin/pg_basebackup/Makefile @@ -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 \ diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm index ec3546d0c0f..a310bcb28c9 100644 --- a/src/tools/msvc/Mkvcbuild.pm +++ b/src/tools/msvc/Mkvcbuild.pm @@ -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'); [parent: 95787e849b9c]