Commit 00b5cceb authored by Tom Lane's avatar Tom Lane

Second try: walreceiver should not be built with -DBUILDING_DLL

parent cf7af280
# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.11 2008/11/14 10:22:47 petere Exp $ # $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.12 2010/01/15 21:43:21 tgl Exp $
DLLTOOL= dlltool DLLTOOL= dlltool
DLLWRAP= dllwrap DLLWRAP= dllwrap
ifdef PGXS ifdef PGXS
...@@ -23,10 +23,12 @@ CFLAGS_SL = ...@@ -23,10 +23,12 @@ CFLAGS_SL =
ifneq (,$(findstring backend,$(subdir))) ifneq (,$(findstring backend,$(subdir)))
ifeq (,$(findstring conversion_procs,$(subdir))) ifeq (,$(findstring conversion_procs,$(subdir)))
ifeq (,$(findstring snowball,$(subdir))) ifeq (,$(findstring snowball,$(subdir)))
ifeq (,$(findstring walreceiver,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL override CPPFLAGS+= -DBUILDING_DLL
endif endif
endif endif
endif endif
endif
ifneq (,$(findstring timezone,$(subdir))) ifneq (,$(findstring timezone,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL override CPPFLAGS+= -DBUILDING_DLL
......
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.13 2009/01/05 09:27:20 petere Exp $ # $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.14 2010/01/15 21:43:21 tgl Exp $
# Use replacement include files for those missing on Win32 # Use replacement include files for those missing on Win32
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32" override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
...@@ -21,10 +21,12 @@ CFLAGS_SL = ...@@ -21,10 +21,12 @@ CFLAGS_SL =
ifneq (,$(findstring backend,$(subdir))) ifneq (,$(findstring backend,$(subdir)))
ifeq (,$(findstring conversion_procs,$(subdir))) ifeq (,$(findstring conversion_procs,$(subdir)))
ifeq (,$(findstring snowball,$(subdir))) ifeq (,$(findstring snowball,$(subdir)))
ifeq (,$(findstring walreceiver,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL override CPPFLAGS+= -DBUILDING_DLL
endif endif
endif endif
endif endif
endif
ifneq (,$(findstring timezone,$(subdir))) ifneq (,$(findstring timezone,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL override CPPFLAGS+= -DBUILDING_DLL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment