mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Don't define BUILDING_DLL for snowball lib. Should fix build problems
on mingw and probably cygwin.
This commit is contained in:
parent
d01741bfa1
commit
a3bc467eba
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user