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

From Tom Lane
Subject Re: [HACKERS] HEAD doesn't cope with libraries in non-default locations
Date
Msg-id 22946.1120450333@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] HEAD doesn't cope with libraries in non-default locations  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [HACKERS] HEAD doesn't cope with libraries in non-default  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Disable page writes when fsync off, add GUC
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] HEAD doesn't cope with libraries in non-default