Fix PGXS vpath build when PostgreSQL is built with vpath

Peter Eisentraut <peter_e@gmx.net>

Commit: b58233c71b93a32fcab7219585cafc25a27eb769
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2014-12-04T22:02:02Z
Releases: 9.5.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