summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2004-05-22 02:15:08 +0000
committerTom Lane2004-05-22 02:15:08 +0000
commitb1ea9811b331de36133b307c78cba175edbd38c6 (patch)
tree606e09e0b64e293d11d7f7e2a32e4e89798a1dd1
parent4fb9aa43f6773af4b34b9507f0b6e12f08546f97 (diff)
Fix for vpath builds.
-rw-r--r--src/port/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/port/Makefile b/src/port/Makefile
index a7eafdf8eeb..76f967ae656 100644
--- a/src/port/Makefile
+++ b/src/port/Makefile
@@ -7,7 +7,7 @@
# with broken/missing library files.
# IDENTIFICATION
-# $PostgreSQL: pgsql/src/port/Makefile,v 1.12 2004/05/21 20:56:50 tgl Exp $
+# $PostgreSQL: pgsql/src/port/Makefile,v 1.13 2004/05/22 02:15:08 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -15,6 +15,8 @@ subdir = src/port
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
+override CPPFLAGS := -I$(top_builddir)/src/port $(CPPFLAGS)
+
ifdef LIBOBJS
all: libpgport.a
endif