cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: IRIX 6.2 MIPS C 6.2 o32 - Daily builds

From: Daniel Johnson <daniel_at_daniel-johnson.org>
Date: Sat, 17 Feb 2007 06:45:35 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Feb 16, 2007, at 4:59 PM, Dan Fandrich wrote:

> On Fri, Feb 16, 2007 at 08:42:26AM -0800, I wrote:
>> What does ./libtool --config show for link_all_deplibs on those
>> platforms?
>> I noticed at least one of the platforms was using libtool 1.4.2,
>> which
>> I've found doesn't always set it properly. A libtool upgrade
>> might help
>> here.
>
> On closer inspection, the problem looks like the configure script
> setting the LIBS variable to include libcurl's dependencies, but
> LIBS is
> used for all linked executables. configure should be changed to
> put libcurl
> dependencies into a separate variable.
>

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. :)

Daniel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: http://homepage.mac.com/danielj7/publickey.txt

iD8DBQFF1urg4sDFGYouOqARAqKkAJ9n6rEaiBSHBxt8rBmuIZHoESHOqACfRZet
DAJH2SWsKAoWSUjMIZ+ABts=
=KCFe
-----END PGP SIGNATURE-----
Received on 2007-02-17