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