mirror of
https://github.com/postgres/postgres.git
synced 2026-01-05 23:38:41 +03:00
Fix Cygwin compile for timezone.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user