Bug#594810: libnss3-dev: Reduce library list in nss.pc

Mike Hommey mh at glandium.org
Mon Aug 30 07:31:25 UTC 2010


tag 594810 wontfix
thanks

On Sun, Aug 29, 2010 at 06:03:14PM +0100, Tom Parker wrote:
> Package: libnss3-dev
> Version: 3.12.8~b2-1
> Severity: minor
> 
> /usr/lib/pkgconfig/nss.pc has a long list of libraries listed on the
> Libs line. All of these other than libnss3 should probably be on a
> Libs.private line

That would mean only libnss3 uses these other libraries, while this is
not the case. That these libraries are separated is an unfortunate
legacy, but the nss APIs are all over these libraries.

> and similarly nspr should be a Requires.private not a
> Requires, as this doesn't always need to be linked in. The current
> situation is that programs/libraries that want to link in libnss also
> have a bunch of other stuff shoved in as well...

Reality is that if you are using NSS APIs, you are also most likely
using NSPR APIs too, because so a lot of NSS APIs use NSPR types, which
require NSPR functions to setup.

Mike





More information about the pkg-mozilla-maintainers mailing list