From 0502e854640bd024f349c0df46b7dd6812b8c05c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 20 Jan 2017 12:51:31 -0500 Subject: Try to fix non-MSVC Windows builds in the wake of logical replication. pgoutput evidently needs to be built without -DBUILDING_DLL. (It seems like a pretty bad idea that these makefiles need to know exactly where all the shlibs are in the tree, or maybe what's bad is putting them under src/backend/. But right now is not the time to redesign that.) Also, remove "override CPPFLAGS" in pgoutput's Makefile. I don't think that that actually has any bad consequences, but it's certainly useless in a directory that has no .h files, and it might be contributing to the failure somehow. Per buildfarm. --- src/backend/replication/pgoutput/Makefile | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/backend') diff --git a/src/backend/replication/pgoutput/Makefile b/src/backend/replication/pgoutput/Makefile index 1b68e2b4b66..cbe444bae30 100644 --- a/src/backend/replication/pgoutput/Makefile +++ b/src/backend/replication/pgoutput/Makefile @@ -12,8 +12,6 @@ subdir = src/backend/replication/pgoutput top_builddir = ../../../.. include $(top_builddir)/src/Makefile.global -override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) - OBJS = pgoutput.o $(WIN32RES) PGFILEDESC = "pgoutput - standard logical replication output plugin" NAME = pgoutput -- cgit v1.2.3