Fix PL/Tcl for vpath builds.
authorTom Lane <[email protected]>
Fri, 25 Mar 2016 21:13:03 +0000 (17:13 -0400)
committerTom Lane <[email protected]>
Fri, 25 Mar 2016 21:13:03 +0000 (17:13 -0400)
Commit cd37bb78599dcf24 works for in-tree builds, but not so much for
VPATH.  Per buildfarm.

src/pl/tcl/Makefile

index d77b7b95f241a3d9531f1c29a687ddb7da90f260..25082ec504897672c18bd578d65b6ed7a882a7c5 100644 (file)
@@ -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)