On Mon, Nov 28, 2005 at 11:55:46PM -0800, Steve Langasek wrote: > Yes, curl-config is messed up in the sense that curl-config is *always* > messed up for purposes of dynamic linking on GNU systems. In the present > case, curl-config spits out -lkrb5 and other library options, but is > missing a dependency on libkrb5-dev. This is bug #340784, and should be > fixed reasonably soon. > > On the darcs side, this is fixable by changing the Debian package to not > use curl-config -- as described at > <http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html>. > It's understandable that upstream would not want to accept such a patch, > since it's not portable to platforms which use non-GNU linkers; but for > Debian's purposes, until curl-config adds a --static option to split > these other garbage linker options out, it's far better to replace > `curl-config --libs` with -lcurl as this is much less likely to lead to > future build failures as a result of curl bugs.
Is there some sort of autoconf trickery we could use upstream to check if the gnu linker is present and fall back on curl-config if it isn't? -- David Roundy http://www.darcs.net
signature.asc
Description: Digital signature