[PATCH v4] When using the Mozilla NSS library for cryptography, include the NSPR header files

Florian Weimer fweimer@redhat.com
Sat Jun 11 13:44:00 GMT 2016


On 06/11/2016 01:55 PM, Guido Trentalancia wrote:
> Such approach suffers the same problem as the {nss,nspr}-config
> scripts: you need to use pkg-config data from both NSS *and* NSPR in
> order to get all the needed header files' paths.

This shouldn't be a problem because pkg-config knows about dependencies 
and will reflect their requirements in the generated command lines.  If 
it does not, it's a bug in the distribution-provided .pc files.

The larger problem is that we do not particularly care about nss, we 
want freebl, and at least Fedora doesn't provide a separate .pc file for 
that.  I suppose I could have that fixed for Fedora, but I don't know 
how painful the process is for other distributions.

Florian



More information about the Libc-alpha mailing list