mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Fix Cygwin compile for timezone.
This commit is contained in:
parent
b2b0673e4b
commit
43dc050525
2 changed files with 7 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.4 2004/01/19 21:20:06 tgl Exp $
|
||||
# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.5 2004/10/27 19:14:07 momjian Exp $
|
||||
DLLTOOL= dlltool
|
||||
DLLWRAP= dllwrap
|
||||
BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres
|
||||
|
|
@ -23,6 +23,10 @@ override CPPFLAGS+= -DBUILDING_DLL
|
|||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring timezone,$(subdir)))
|
||||
override CPPFLAGS+= -DBUILDING_DLL
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring ecpg/ecpglib,$(subdir)))
|
||||
override CPPFLAGS+= -DBUILDING_DLL
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.4 2004/10/22 22:33:58 tgl Exp $
|
||||
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.5 2004/10/27 19:14:07 momjian Exp $
|
||||
|
||||
# Use replacement include files for those missing on Win32
|
||||
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
|
||||
|
|
@ -27,7 +27,7 @@ ifneq (,$(findstring timezone,$(subdir)))
|
|||
override CPPFLAGS+= -DBUILDING_DLL
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring ecpg/lib,$(subdir)))
|
||||
ifneq (,$(findstring ecpg/ecpglib,$(subdir)))
|
||||
override CPPFLAGS+= -DBUILDING_DLL
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue