Re: PGXS on VPATH? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PGXS on VPATH?
Date
Msg-id 5096.1130940985@sss.pgh.pa.us
Whole thread Raw
In response to PGXS on VPATH?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: PGXS on VPATH?  (Fabien COELHO <fabien@coelho.net>)
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Is PGXS on VPATH builds supported?

Probably not in the way you're thinking.  IIRC pgxs.mk explicitly resets
VPATH, and I think it has to do that because any VPATH embedded in
Makefile.global would represent what was done at the time of building
the PG installation --- which has zip to do with where the PGXS-using
software is located.

It might work to explicitly set VPATH from the make command line:make USE_PGXS=1 VPATH=whatever
as this should override the assignments in the makefiles.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Idar Tollefsen
Date:
Subject: 8.1RC1 fails to build on OS X (10.4)
Next
From: "Magnus Hagander"
Date:
Subject: Re: pg_restore [archiver] file offset in dump file is too