Re: pgxs problem - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pgxs problem
Date
Msg-id 200607192355.01934.peter_e@gmx.net
Whole thread Raw
In response to pgxs problem  (Gregory Stark <gsstark@mit.edu>)
Responses Re: pgxs problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Gregory Stark wrote:
> I've tracked down my problem with pgxs to Makefile.global in
> lib/pgxs/src. These lines seem to be the culprits:
>
> bindir := $(shell pg_config --bindir)

Yes, that's pretty small-minded.  It should be something like

PG_CONFIG = pg_config

bindir := $(shell $(PG_CONFIG) --bindir)

That way you can override it.

> I think it should be running $(pkglibdir)/bin/pg_config

Actually pg_config is defined to live in $(bindir), so that would be 
wrong.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_regress breaks on msys
Next
From: Michael Fuhr
Date:
Subject: Re: pgxs problem