summaryrefslogtreecommitdiff
path: root/src/makefiles
diff options
context:
space:
mode:
authorTom Lane2010-01-05 03:56:52 +0000
committerTom Lane2010-01-05 03:56:52 +0000
commitdaf5b0f2977d6395daf404cfa1b60b361af86377 (patch)
tree5124fce3c516862df5bd8ff400a3c045f1e74a26 /src/makefiles
parent9d781b55f4ba2481a6217316361ddfd67cc06318 (diff)
Fix a few places where we needed -I. in CPPFLAGS to work properly in
VPATH builds. We had this already in several places, but not all.
Diffstat (limited to 'src/makefiles')
-rw-r--r--src/makefiles/pgxs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk
index db89546b037..4f760bc8662 100644
--- a/src/makefiles/pgxs.mk
+++ b/src/makefiles/pgxs.mk
@@ -1,6 +1,6 @@
# PGXS: PostgreSQL extensions makefile
-# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.18 2010/01/04 16:34:11 tgl Exp $
+# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.19 2010/01/05 03:56:52 tgl Exp $
# This file contains generic rules to build many kinds of simple
# extension modules. You only need to set a few variables and include
@@ -64,7 +64,7 @@ VPATH =
endif
-override CPPFLAGS := -I$(srcdir) $(CPPFLAGS)
+override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
ifdef MODULES
override CFLAGS += $(CFLAGS_SL)