summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-03-25 17:13:03 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-03-25 17:13:03 -0400
commit9f73a2f6d1c1305cf0dc749dbf631cffe26beda0 (patch)
treefe0fc0947490f210a4a3cd292aa9ea82f9718fb5 /src
parentcd37bb78599dcf24cd22a124ce9174b5e2a76880 (diff)
Fix PL/Tcl for vpath builds.
Commit cd37bb78599dcf24 works for in-tree builds, but not so much for VPATH. Per buildfarm.
Diffstat (limited to 'src')
-rw-r--r--src/pl/tcl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile
index d77b7b95f24..25082ec5048 100644
--- a/src/pl/tcl/Makefile
+++ b/src/pl/tcl/Makefile
@@ -11,7 +11,7 @@ top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
-override CPPFLAGS := $(TCL_INCLUDE_SPEC) $(CPPFLAGS)
+override CPPFLAGS := -I. -I$(srcdir) $(TCL_INCLUDE_SPEC) $(CPPFLAGS)
# On Windows, we don't link directly with the Tcl library; see below
ifneq ($(PORTNAME), win32)