"Albe Laurenz" <all@adv.magwien.gv.at> writes:
> Tom Lane wrote:
>> Also, I am *really* dubious about the change to
>> ecpg/test/Makefile.regress --- if that's necessary then this whole
>> exercise is wrong.
> For a dynamic build you do not need the change.
> Only a --disable-shared build will gag without it.
Ah. In that case I think the answer is that that makefile should be
using $(libpq) or possibly $(libpq_pgport) from Makefile.global,
rather than bare "-lpq".
regards, tom lane