]> granicus.if.org Git - postgresql/commitdiff
Don't define BUILDING_DLL for snowball lib. Should fix build problems
authorMagnus Hagander <magnus@hagander.net>
Tue, 21 Aug 2007 13:32:33 +0000 (13:32 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 21 Aug 2007 13:32:33 +0000 (13:32 +0000)
on mingw and probably cygwin.

src/makefiles/Makefile.win32

index a3ce9f29eaf90f09b8265169cfdbf9c6e5f04b4d..f42ae8e41a80614e612bc1ad15684e8645b6dcf7 100644 (file)
@@ -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