summaryrefslogtreecommitdiff
path: root/src/third_party/gperftools
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/gperftools')
-rw-r--r--src/third_party/gperftools/SConscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/third_party/gperftools/SConscript b/src/third_party/gperftools/SConscript
index ae84f362e01..2025d7a9ea6 100644
--- a/src/third_party/gperftools/SConscript
+++ b/src/third_party/gperftools/SConscript
@@ -125,5 +125,11 @@ env.Library(
],
# We don't want the shim_allocator hack to apply to this library, since
# otherwise we would create a loop.
+ LIBDEPS_GLOBAL=[
+ dep
+ for dep in env.get('LIBDEPS_GLOBAL', [])
+ if not dep.endswith('shim_allocator')
+ ],
+ # TODO: Remove when SERVER-48291 is merged into stable build tools
DISABLE_ALLOCATOR_SHIM_INJECTION=True,
)