diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2018-02-20 12:39:37 -0500 |
---|---|---|
committer | Sara Golemon <sara.golemon@mongodb.com> | 2018-03-17 12:45:29 -0400 |
commit | 65191bbe5c00bb419a7466fb7db43e220035f776 (patch) | |
tree | 1f2c00082b35eafbcdaa1539ed680ac84949a640 /SConstruct | |
parent | 9eea82ee2a0e37da90cbb549d55c5eac8aa69a55 (diff) | |
download | mongo-65191bbe5c00bb419a7466fb7db43e220035f776.tar.gz |
SERVER-22412 Implement a secure transport ASIO backend
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct index fbbf8f433bb..fcd14983ed4 100644 --- a/SConstruct +++ b/SConstruct @@ -2901,11 +2901,13 @@ def doConfigure(myenv): conf.env.Append( MONGO_CRYPTO=["windows"] ) elif conf.env.TargetOSIs('darwin', 'macOS'): + ssl_provider = 'apple' + env.SetConfigHeaderDefine("MONGO_CONFIG_SSL_PROVIDER", "SSL_PROVIDER_APPLE") conf.env.Append( MONGO_CRYPTO=["apple"] ) - if has_option("ssl"): - # TODO: Replace SSL implementation as well. - # For now, let openssl fill that role. - checkOpenSSL(conf) + conf.env.AppendUnique(FRAMEWORKS=[ + 'CoreFoundation', + 'Security', + ]) if ssl_provider == 'openssl': if has_option("ssl"): |