summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/SConscript')
-rw-r--r--src/third_party/wiredtiger/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/SConscript b/src/third_party/wiredtiger/SConscript
index c315166275e..cdd090b0b63 100644
--- a/src/third_party/wiredtiger/SConscript
+++ b/src/third_party/wiredtiger/SConscript
@@ -8,7 +8,7 @@ Import("endian")
env = env.Clone()
-env.InjectThirdPartyIncludePaths(libraries=['snappy', 'zlib', 'zstd'])
+env.InjectThirdParty(libraries=['snappy', 'zlib', 'zstd'])
if endian == "big":
env.Append(CPPDEFINES=[('WORDS_BIGENDIAN', 1)])
@@ -53,7 +53,7 @@ if env.TargetOSIs('windows'):
"/wd4090" # Ignore warning about mismatched const qualifiers
])
if env['MONGO_ALLOCATOR'] in ['tcmalloc', 'tcmalloc-experimental']:
- env.InjectThirdPartyIncludePaths(libraries=['gperftools'])
+ env.InjectThirdParty(libraries=['gperftools'])
env.Append(CPPDEFINES=['HAVE_LIBTCMALLOC'])
elif env.TargetOSIs('darwin'):
env.Append(CPPPATH=["build_darwin"])