diff options
author | Magnus Hagander <magnus@hagander.net> | 2007-08-21 13:32:33 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2007-08-21 13:32:33 +0000 |
commit | a3bc467eba42223f443ad31abe8ba2173ea13cd3 (patch) | |
tree | 642f6091203b43023270e8a18a4cfe31f918e20d /src | |
parent | d01741bfa199f37f4a913becf46c95ba8d2a918e (diff) | |
download | postgresql-a3bc467eba42223f443ad31abe8ba2173ea13cd3.tar.gz postgresql-a3bc467eba42223f443ad31abe8ba2173ea13cd3.zip |
Don't define BUILDING_DLL for snowball lib. Should fix build problems
on mingw and probably cygwin.
Diffstat (limited to 'src')
-rw-r--r-- | src/makefiles/Makefile.win32 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.win32 b/src/makefiles/Makefile.win32 index a3ce9f29eaf..f42ae8e41a8 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 |