Fix PGXS vpath build when PostgreSQL is built with vpath

Peter Eisentraut <peter_e@gmx.net>

Commit: f3d7077dad94d6ac864647eaa50f5dd0590a6c8d
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2014-12-04T22:03:37Z
Releases: 9.4.0
Fix PGXS vpath build when PostgreSQL is built with vpath

PGXS computes srcdir from VPATH, PostgreSQL proper computes VPATH from
srcdir, and doing both results in an error from make.  Conditionalize so
only one of these takes effect.

Files

PathChange+/−
src/Makefile.global.in modified +3 −0