Re: LDFLAGS vs. shared libraries - Mailing list pgsql-hackers

From Tom Lane
Subject Re: LDFLAGS vs. shared libraries
Date
Msg-id 5111.1092758328@sss.pgh.pa.us
Whole thread Raw
In response to LDFLAGS vs. shared libraries  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: LDFLAGS vs. shared libraries
List pgsql-hackers
Oliver Jowett <oliver@opencloud.com> writes:
> I've changed Makefile.shlib to add all of LDFLAGS to SHLIB_LINK for now, 
> but I'm assuming there's a reason that it was only using -L flags 
> originally.

IIRC, on some platforms there are elements of LDFLAGS that will actively
break shared library linking.

> Is there a Right Way to pass extra options for 
> shared-library linking?

LDFLAGS_SL is meant for this, I believe.  Dunno whether you can set it
via configure, though ... that may be an oversight.  In the meantime
you could hand-hack Makefile.global to set it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: tablespace and sequences?
Next
From: Fabien COELHO
Date:
Subject: Re: tablespace and sequences?