Name: NSS
Description: Mozilla Network Security Services
Version: 1.9.2a1pre
Requires: mozilla-nspr >= 4.7.4
Libs: -L${sdkdir}/lib -lnss3 -lnssutil3 -lsmime3 -lssl3 -lsoftokn3
Cflags: -I${includedir}/stable
What puzzled me is that "llnss3 -lnssutil3 -lsmime3 -lssl3 -lsoftokn3"
only exist in /usr/local/lib/xulrunner-1.9.2a1pre instead of ${sdkdir}/
lib,and there are nss-related static libs in ${sdkdir}/lib like
libnss.a libnssutil.a.
So if i want to build xul app, i must copy nss files to ${sdkdir}/
lib,or change .pc files.It's weird to do that,could somebody explain
it.
If you are serious about using binary XPCOM components, you may think
about using Mozilla build system [1] to build them.
Required compile/link flags (which also include library dependencies and
their locations) change without warning. You'll be trying to hit a
moving target, if you use a custom Makefile, or even automake-based
build system.
1.
http://developer.mozilla.org/en/docs/Creating_XULRunner_Apps_with_the_Mozilla_Build_System
--
Sergey Yanovich