2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:24 -08:00
|
|
|
# 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/.
|
|
|
|
|
2013-08-15 06:12:40 -07:00
|
|
|
if CONFIG['MOZ_FOLD_LIBS']:
|
|
|
|
# TODO: The library name can be changed when bug 845217 is fixed.
|
|
|
|
LIBRARY_NAME = 'nss3'
|
2013-11-18 18:47:45 -08:00
|
|
|
|
|
|
|
FORCE_SHARED_LIB = True
|
2014-07-22 21:29:09 -07:00
|
|
|
SDK_LIBRARY = True
|
2014-02-11 08:28:54 -08:00
|
|
|
|
2014-07-22 21:30:52 -07:00
|
|
|
USE_LIBS += [
|
|
|
|
'mozsqlite3',
|
|
|
|
]
|
|
|
|
|
2014-02-11 08:28:54 -08:00
|
|
|
if CONFIG['OS_TARGET'] == 'WINNT':
|
|
|
|
DEFFILE = 'nss3.def'
|
2014-05-30 11:34:54 -07:00
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'Linux' and \
|
|
|
|
CONFIG['MOZ_FOLD_LIBS'] and \
|
|
|
|
CONFIG['GCC_USE_GNU_LD']:
|
|
|
|
LD_VERSION_SCRIPT = 'nss3.def'
|