summaryrefslogtreecommitdiff
path: root/src/makefiles
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-10-27 19:14:07 +0000
committerBruce Momjian <bruce@momjian.us>2004-10-27 19:14:07 +0000
commit43dc0505252636513703188a35590fb0cbd1d818 (patch)
tree81231c679101adb754727fc8188d5d7fdbc840f0 /src/makefiles
parentb2b0673e4be50915b92ec39de6ace4d2c5ba6a1d (diff)
downloadpostgresql-43dc0505252636513703188a35590fb0cbd1d818.tar.gz
Fix Cygwin compile for timezone.
Diffstat (limited to 'src/makefiles')
-rw-r--r--src/makefiles/Makefile.cygwin6
-rw-r--r--src/makefiles/Makefile.win324
2 files changed, 7 insertions, 3 deletions
diff --git a/src/makefiles/Makefile.cygwin b/src/makefiles/Makefile.cygwin
index b3ee00c09e..3de1644e2e 100644
--- a/src/makefiles/Makefile.cygwin
+++ b/src/makefiles/Makefile.cygwin
@@ -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
diff --git a/src/makefiles/Makefile.win32 b/src/makefiles/Makefile.win32
index 5cf543d309..bac94505e1 100644
--- a/src/makefiles/Makefile.win32
+++ b/src/makefiles/Makefile.win32
@@ -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