curl-library
Re: curl-config.in doesn't handle -L@libdir@
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Aug 2001 23:21:42 +0200 (MET DST)
Date: Mon, 6 Aug 2001 23:21:42 +0200 (MET DST)
On Mon, 6 Aug 2001, Evan Martin wrote:
> Also, it took me a while to figure out how to work curl-config.
>
> Is there any reason you deviated from the syntax of gtk-config or
> gnome-config?
Yes. I'm a bit ashamed of admitting this, but I've never used them myself!
I've only seen them and I cloned the idea, not the exact functionality.
> (I notice that curl-config --libs doesn't include libcurl...)
Yes. Well, I originally didn't add anything to the file that wasn't found in
the configure script, as it then would be 100% portable. Now, I've already
added the assumption that you set linker paths with -L, so adding -lcurl is
probably not a very big sacrifice.
Anyone else with opinions regarding this?
-- Daniel Stenberg -- curl dude -- http://curl.haxx.se/ _______________________________________________ Curl-library mailing list http://curl.haxx.se/libcurl/Received on 2001-08-06