cURL / Mailing Lists / curl-library / Single Mail

curl-library

configure script adds user's LDFLAGS to curl-config

From: Lior Balkohen <balkohen_at_gmail.com>
Date: Wed, 30 Nov 2005 11:57:37 +0100

Running configure script from the topdir of libcurl sources, I can use
my own LDFLAGS like:
LDFLAGS="-Wl,--gc-sections -Wl,-z,combreloc -Wl,--sort-common
-Wl,--enable-new-dtags -Wl,--as-needed -Wl,-O1" ./configure
--prefix=/foo

As a result of this, my LDFLAGS are added in curl-config, so that
`curl-config --libs` returns flags which I used to build libcurl.
Isn't that wrong?
Received on 2005-11-30