This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 06/11/2016 08:04 AM, Mike Frysinger wrote:
On 31 May 2016 21:25, Guido Trentalancia wrote:
When configuring and building GNU libc using the Mozilla NSS library
for cryptography (--enable-nss-crypt option), also include the
NSPR header files along with the Mozilla NSS library header files.

Finally, when running the check-local-headers test, ignore the
Mozilla NSPR library header files (used by the Mozilla NSS library)
as otherwise false positives (FAIL) are obtained.

imo, we should switch to pkg-config, and then probe nss via that.
then we don't have to know or care about nspr requirements.

Isn't using pkg-config in a GNU project a bit tricky?

In any case, Mozilla does not publish pkg-config data as far as I can see, and downstreams probably vary in what they do. For example, Fedora does not provide pkg-config data for libfreebl at all. You can link against NSS, but then you also get libdl and libpthread, which we do not want as dependencies of libgcrypt.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]