Bug 1371991 - don't link against crmf when building with --with-system-nss, r=ted

Differential Revision: https://phabricator.services.mozilla.com/D836

--HG--
extra : rebase_source : 04127ba88296e8bd6849d227641bb0eebae2c23b
extra : amend_source : dde2e35e2d12316950113e5f320d47a914783623
This commit is contained in:
Franziskus Kiefer 2018-04-04 14:36:12 +02:00 committed by Roy Tam
commit 3d47693868

View file

@ -2063,9 +2063,7 @@ if test -n "$_USE_SYSTEM_NSS"; then
AM_PATH_NSS(3.28.6, [MOZ_SYSTEM_NSS=1], [AC_MSG_ERROR([you don't have NSS installed or your version is too old])])
fi
if test -n "$MOZ_SYSTEM_NSS"; then
NSS_LIBS="$NSS_LIBS -lcrmf"
else
if test -z "$MOZ_SYSTEM_NSS"; then
NSS_CFLAGS="-I${DIST}/include/nss"
fi