From a3bc467eba42223f443ad31abe8ba2173ea13cd3 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 21 Aug 2007 13:32:33 +0000 Subject: [PATCH] Don't define BUILDING_DLL for snowball lib. Should fix build problems on mingw and probably cygwin. --- src/makefiles/Makefile.win32 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/makefiles/Makefile.win32 b/src/makefiles/Makefile.win32 index a3ce9f29ea..f42ae8e41a 100644 --- a/src/makefiles/Makefile.win32 +++ b/src/makefiles/Makefile.win32 @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.10 2006/06/22 23:50:35 tgl Exp $ +# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.11 2007/08/21 13:32:33 mha Exp $ # Use replacement include files for those missing on Win32 override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32" @@ -22,9 +22,11 @@ CFLAGS_SL = ifneq (,$(findstring backend,$(subdir))) ifeq (,$(findstring conversion_procs,$(subdir))) +ifeq (,$(findstring snowball,$(subdir))) override CPPFLAGS+= -DBUILDING_DLL endif endif +endif ifneq (,$(findstring timezone,$(subdir))) override CPPFLAGS+= -DBUILDING_DLL -- 2.11.0