| # -*- Mode: python; c-basic-offset: 4; 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_NATIVE_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', |
| ] |