summaryrefslogtreecommitdiffstats
path: root/config/external/nss/crmf/moz.build
blob: d2004a5090058f63011d57ec92b524c327cb264d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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',
    ]