2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:05:39 +04: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/.
|
|
|
|
|
2014-10-30 07:06:12 +03:00
|
|
|
GeckoProgram('ssltunnel', linkage=None)
|
2013-05-01 22:05:40 +04:00
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'ssltunnel.cpp',
|
|
|
|
]
|
2014-03-05 04:39:06 +04:00
|
|
|
|
2014-07-23 08:30:52 +04:00
|
|
|
USE_LIBS += [
|
2014-08-07 09:21:03 +04:00
|
|
|
'nspr',
|
|
|
|
'nss',
|
2014-07-23 08:30:52 +04:00
|
|
|
]
|
|
|
|
|
2014-03-05 04:39:06 +04:00
|
|
|
# This isn't XPCOM code, but it wants to use STL, so disable the STL
|
|
|
|
# wrappers
|
2017-09-11 21:33:26 +03:00
|
|
|
DisableStlWrapping()
|
2016-05-11 10:00:01 +03:00
|
|
|
|
2017-12-08 00:09:15 +03:00
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
2016-05-11 10:00:01 +03:00
|
|
|
CXXFLAGS += ['-Wno-shadow']
|