cURL / Mailing Lists / curl-library / Single Mail


configure script adds user's LDFLAGS to curl-config

From: Lior Balkohen <>
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

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