summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2018-03-27 11:23:30 -0400
committerSara Golemon <sara.golemon@mongodb.com>2018-04-06 14:32:02 -0400
commit91e426664fdfb52070275c2a498f71d7d196ea02 (patch)
tree9f6f62db79cd657131bed7db37c2844bf65b3daa /SConstruct
parent83c933958255a99c4c92ccbeb02cf1b45d5a5fc3 (diff)
downloadmongo-91e426664fdfb52070275c2a498f71d7d196ea02.tar.gz
SERVER-33833 Switch OSX builds to native TLS and enable OpenSSL legacy builder
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 2 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 16a9e30b31b..7e095394db6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2888,9 +2888,7 @@ def doConfigure(myenv):
ssl_provider = get_option("ssl-provider")
if ssl_provider == 'auto':
- # TODO: When native platforms are implemented, make them the default
- #if conf.env.TargetOSIs('windows', 'darwin', 'macOS'):
- if conf.env.TargetOSIs('windows'):
+ if conf.env.TargetOSIs('windows', 'darwin', 'macOS'):
ssl_provider = 'native'
else:
ssl_provider = 'openssl'
@@ -2925,6 +2923,7 @@ def doConfigure(myenv):
# Either crypto engine is native,
# or it's OpenSSL and has been checked to be working.
conf.env.SetConfigHeaderDefine("MONGO_CONFIG_SSL")
+ print("Using SSL Provider: {0}".format(ssl_provider))
else:
ssl_provider = "none"