]> granicus.if.org Git - postgresql/commitdiff
Fix Cygwin compile for timezone.
authorBruce Momjian <bruce@momjian.us>
Wed, 27 Oct 2004 19:14:07 +0000 (19:14 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 27 Oct 2004 19:14:07 +0000 (19:14 +0000)
src/makefiles/Makefile.cygwin
src/makefiles/Makefile.win32

index b3ee00c09e797e0ed8b69c32bb753a15857ca03a..3de1644e2e441dc9d49d6476b686193d46084f2d 100644 (file)
@@ -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
index 5cf543d309ed3e95e9aebd10b07cdf876a411193..bac94505e17938c952c7796f1d86d4f761363ddf 100644 (file)
@@ -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