cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: configure script adds user's LDFLAGS to curl-config

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 30 Nov 2005 13:48:42 +0100 (CET)

On Wed, 30 Nov 2005, Lior Balkohen wrote:

> Running configure script from the topdir of libcurl sources, I can use
> my own LDFLAGS like:

...

> 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?

Perhaps, but the configures script cannot (currently) tell what of the given
options that are required for libcurl to get built and what options that are
needed for apps that use libcurl to get built.

Any suggestions on how to fix?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-11-30