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/