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

Package:
libnss3-dev
Source:
nss
Description:
Development files for the Network Security Service libraries
Submitter:
Tom Parker
Date:
2010-08-30 07:39:08 UTC
Severity:
minor
#594810#5
Date:
2010-08-29 17:03:14 UTC
From:
To:
/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, 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...

#594810#10
Date:
2010-08-30 07:31:25 UTC
From:
To:
tag 594810 wontfix
thanks

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.

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