Re: Why are these modules built without respecting my LDFLAGS? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Why are these modules built without respecting my LDFLAGS?
Date
Msg-id 1277701404.28109.0.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Why are these modules built without respecting my LDFLAGS?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Why are these modules built without respecting my LDFLAGS?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On sön, 2010-06-27 at 19:41 -0400, Tom Lane wrote:
> OK, so after some digging I find that, while most of the .so's in our
> build are made using Makefile.shlib, pgxs's "MODULES" build rules
> don't
> use that.  Instead they rely on the "%.so: %.o" (and platform-specific
> variants of that) rules found in src/makefiles/Makefile*.  And on most
> platforms we've neglected to include LDFLAGS_SL in those rules.  This
> seems like an oversight, especially since the one platform that has
> nonempty LDFLAGS_SL by default (AIX) does include LDFLAGS_SL.
> 
> This seems like a clear bug.  I'm hesitant to back-patch a change like
> that, but not hesitant to fix it in HEAD.

I think this issue is brought up about once a year.  You might want to
review previous discussions.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump's checkSeek() seems inadequate
Next
From: Simon Riggs
Date:
Subject: Re: Keepalive for max_standby_delay