cURL / Mailing Lists / curl-library / Single Mail


Re: IRIX 6.2 MIPS C 6.2 o32 - Daily builds

From: Daniel Johnson <>
Date: Sun, 18 Feb 2007 09:29:29 -0500

Hash: SHA1

On Feb 17, 2007, at 10:46 PM, Jamie Lokier wrote:

> Daniel Johnson wrote:
>> Unfortunately, this is bad on systems that set link_all_deplibs=yes
>> like darwin. curl-config and libcurl.pc now don't list any dependent
>> libraries since they use @LIBS@, which causes linking to fail for
>> packages that depend on libcurl.
>> Actually, I see that libcurl.pc has been broken for a while, since
>> @LIBS@ is being passed to Libs.private and so don't appear with "pkg-
>> config --libs libcurl". Arguably, this is a bug in pkg-config, which
>> should merge Libs.private with Libs on darwin, but that doesn't
>> change the fact that libcurl.pc is currently useless. :)
> On such platforms, pkg-config should have been built with
> "--enable-indirect-deps" which causes it to merge Libs.private with
> Libs (and Requires.private with Requires).
> For example, Cygwin's version uses this flag, and a quick google shows
> DarwinPorts uses it too.
> If someone has a Darwin installation of pkg-config that wasn't build
> with that flag, and things don't link properly, many pkg files other
> than libcurl.pc will be useless.

Yeah, I agree. For some reason, the pkg-config maintainer in this
case is explicitly not using that flag. I'm going to discuss it with
him and see what's going on. I think it has something to do with how
pkg-config's behavior changed recently but I'm not certain. In any
case, this is no longer a libcurl issue.


Version: GnuPG v1.4.6 (Darwin)

Received on 2007-02-18