summaryrefslogtreecommitdiffstats
path: root/config/external/nss/crmf
diff options
context:
space:
mode:
Diffstat (limited to 'config/external/nss/crmf')
-rw-r--r--config/external/nss/crmf/moz.build20
1 files changed, 20 insertions, 0 deletions
diff --git a/config/external/nss/crmf/moz.build b/config/external/nss/crmf/moz.build
new file mode 100644
index 000000000..d2004a509
--- /dev/null
+++ b/config/external/nss/crmf/moz.build
@@ -0,0 +1,20 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+Library('crmf')
+
+if CONFIG['MOZ_SYSTEM_NSS']:
+ OS_LIBS += [l for l in CONFIG['NSS_LIBS'] if l.startswith('-L')]
+ OS_LIBS += ['-lcrmf']
+else:
+ USE_LIBS += [
+ # The dependency on nss is not real, but is required to force the
+ # parent directory being built before this one. This has no
+ # practical effect on linkage, since the only thing linking crmf
+ # will need nss anyways.
+ 'nss',
+ 'static:/security/nss/lib/crmf/crmf',
+ ]