summaryrefslogtreecommitdiff
path: root/src/mongo/installer
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2018-11-12 18:30:19 -0500
committerMark Benvenuto <mark.benvenuto@mongodb.com>2018-11-12 18:30:59 -0500
commite92632cf9238ae6c784b74704e14eb74b3d296eb (patch)
treeb8f0a007baefd0585cf9caaf4bdd85b80af4500f /src/mongo/installer
parent18036e70919f14eecdc0fe44c8cd2ba90283bc25 (diff)
downloadmongo-e92632cf9238ae6c784b74704e14eb74b3d296eb.tar.gz
SERVER-37415 Make SCons build MongoDB with ssl by default
Diffstat (limited to 'src/mongo/installer')
-rw-r--r--src/mongo/installer/msi/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/installer/msi/SConscript b/src/mongo/installer/msi/SConscript
index a2ee1ea090f..f57b42f08e8 100644
--- a/src/mongo/installer/msi/SConscript
+++ b/src/mongo/installer/msi/SConscript
@@ -3,6 +3,7 @@
import os
Import("env")
+Import("get_option")
Import("has_option")
env = env.Clone()
@@ -60,7 +61,7 @@ if 'enterprise' in env['MONGO_MODULES']:
upgrade_code = '0375833f-c12d-4faa-9a83-60730647cac3'
# Community
else:
- if has_option('ssl'):
+ if get_option('ssl') == 'on':
msi_edition = 'SSL'
upgrade_code = '8a8f9bb3-27f7-4e47-b9a0-e52c92639e44'
else: