Hi!

Nowadays, it is customary that libraries on Unix systems provide
pkg-config files so that they can be more easily found by build
systems like configure scripts.

nspr does this:

        https://hg.mozilla.org/projects/nspr/file/tip/config/nspr.pc.in

It also provides a nspr-config script:

        https://hg.mozilla.org/projects/nspr/file/tip/config/nspr-config.in

which is an alternative, if outdated, method for the same.

nss does not provide either.

However, distributions have added such files, see e.g.

        
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/nss/files/nss-3.17.1-gentoo-fixups.patch

or

        https://github.com/pld-linux/nss/blob/master/nss-config.in
        https://github.com/pld-linux/nss/blob/master/nss-mozilla-nss.pc

and even the mozilla build system uses such a nss-config script to
detect the nss location:

        https://hg.mozilla.org/mozilla-central/file/tip/build/autoconf/nss.m4

despite the fact it is not provided by nss itself.

Can you please add a nss-config script and/or a pkg-config .pc file?

Thanks,
 Thomas
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to