curl-users
Re: curl-config patch
Date: Sat, 30 Jun 2001 12:57:28 -0500
On Thu, Jun 28, 2001 at 03:12:34PM +0200, Daniel Stenberg wrote:
> On 27 Jun 2001, [iso-8859-2] Rafał Kleger-Rudomin wrote:
>
> > If curl was linked with -s, this will be propagated to all programs that
> > was linked with it.
>
> True...
>
> > I patched this in the following way, dunno if it is correct:
>
> - echo @LDFLAGS@ @LIBS@
> + echo @LIBS@
>
> No, I'd say it isn't correct. By removing LDFLAGS completely, you won't for
> example get the -L path(s), that might be crucial.
>
> I have no really neat solution to this right now. We might need to extract
> only the -L info from the LDFLAGS...
Then you'd lose things like the platform runtime search path in
LDFLAGS (-rpath, -Wl,+b, -R, -Wl,-blibpath, ...).
I say strip the binary after the build or provide a target,
install-strip.
-- albert chin (china_at_thewrittenword.com)Received on 2001-06-30