summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorTausif Rahman <tausif.rahman@mongodb.com>2022-05-12 19:19:45 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-12 20:05:50 +0000
commit7f574fb632c18e96a4dc6df88c476b9b68da4980 (patch)
tree8bfccadfee5242027dc0001f46acc1c82a4e8704 /SConstruct
parent1f47628874cb9341b89b12be167dd81c5ed508ae (diff)
downloadmongo-7f574fb632c18e96a4dc6df88c476b9b68da4980.tar.gz
SERVER-57711 Remove usemozjs flag in favor of js-engine != none
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 2 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct
index 5291c9521e6..afdaffa166e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1171,9 +1171,7 @@ jsEngine = get_option( "js-engine")
serverJs = get_option( "server-js" ) == "on"
-usemozjs = (jsEngine.startswith('mozjs'))
-
-if not serverJs and not usemozjs:
+if not serverJs and not jsEngine:
print("Warning: --server-js=off is not needed with --js-engine=none")
# We defer building the env until we have determined whether we want certain values. Some values
@@ -5326,6 +5324,7 @@ Export([
'get_option',
'has_option',
'http_client',
+ 'jsEngine',
'module_sconscripts',
'optBuild',
'selected_experimental_optimizations',
@@ -5335,7 +5334,6 @@ Export([
'use_system_libunwind',
'use_system_version_of_library',
'use_vendored_libunwind',
- 'usemozjs',
'version_extra',
'version_parts',
'wiredtiger',