summaryrefslogtreecommitdiff
path: root/src/third_party/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/SConscript')
-rw-r--r--src/third_party/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/SConscript b/src/third_party/SConscript
index 4a7d44ebdfd..aa9785ce7d6 100644
--- a/src/third_party/SConscript
+++ b/src/third_party/SConscript
@@ -14,7 +14,7 @@ pcreSuffix = "-8.42"
mozjsSuffix = '-45'
yamlSuffix = '-0.6.2'
icuSuffix = '-57.1'
-gperftoolsSuffix = '-2.5'
+gperftoolsSuffix = '-2.7' if env['MONGO_ALLOCATOR'] == "tcmalloc-experimental" else '-2.5'
timelibSuffix = '-2018.01'
tomcryptSuffix = '-1.18.2'
benchmarkSuffix = '-1.4.1'
@@ -324,7 +324,7 @@ if "tom" in env["MONGO_CRYPTO"]:
])
gperftoolsEnv = env
-if (gperftoolsEnv['MONGO_ALLOCATOR'] == "tcmalloc"):
+if (gperftoolsEnv['MONGO_ALLOCATOR'] in ["tcmalloc", "tcmalloc-experimental"]):
if use_system_version_of_library("tcmalloc"):
gperftoolsEnv = env.Clone(
SYSLIBDEPS=[