On Tuesday 15 May 2007 11:58, Steve Langasek wrote: > On Tue, May 15, 2007 at 11:05:40AM +0200, Magnus Holmgren wrote: > > According to the nettle docs, summer needs be linked with -lnettle -lgmp, > > but I don't know if this is Right. As it happens, I was just discussing > > this with upstream. > > No it's not right. No software should be required to care about the > implementation details of the library it's using, *especially* when > dynamic linking on an OS that gets this right (such as GNU/Linux).
I was thinking of using pkg-config to get the right linker flags, thereby relieving the software using nettle from knowing the details. But it's still much better to link libnettle.so.2 with -lgmp, since it's always needed anyway. > The previous upstream version of libnettle (or at least, the Debian > packaging thereof) got this right. The current behavior is a regression. Yes, apparently I lost that piece of the Debian diff when I upgraded to upstream version 1.15. I'll fix it right away. -- Magnus
pgpJaIxB9ndRm.pgp
Description: PGP signature