Re: [HACKERS] HEAD doesn't cope with libraries in non-default locations

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] HEAD doesn't cope with libraries in non-default locations
Date: 2005-07-04 04:12:13
Message-ID: 22946.1120450333@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Tom Lane wrote:
>> It appears that somebody has changed things so that the -L switches
>> appear after the -l switches (ie, too late). I'm too tired to
>> investigate now, but my money is on Autoconf 2.59 being the problem ...

> I wonder if it was this commit. I am attaching the patch so you can
> test to see if it fixes it. If it does, please let us know.

> ! SHLIB_LINK := $(filter -L%, $(LDFLAGS)) $(SHLIB_LINK)
> ...
> ! SHLIB_LINK := $(SHLIB_LINK) $(filter -L%, $(LDFLAGS))

Urgh. This was considered a good idea why exactly?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-07-04 04:14:22 Schedule for release 8.1
Previous Message Bruce Momjian 2005-07-04 04:09:35 Disable page writes when fsync off, add GUC

Browse pgsql-patches by date

  From Date Subject
Next Message Oliver Jowett 2005-07-04 04:14:51 Re: HEAD doesn't cope with libraries in non-default locations
Previous Message Bruce Momjian 2005-07-04 04:09:35 Disable page writes when fsync off, add GUC