summaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-06-15 10:36:00 -0400
committerAndrew Morrow <acm@mongodb.com>2016-06-15 15:33:49 -0400
commitae388b954d20caa224b136d7aaf18241abc6b2b5 (patch)
tree35bea337a60396ee63c9893b5fc5a77fcb29305e /src/third_party
parent23f0bf30a707dabff02e63d854843b102bd1904d (diff)
downloadmongo-ae388b954d20caa224b136d7aaf18241abc6b2b5.tar.gz
SERVER-24588 Don't abandon SCons Configure object in WT SConscript
Diffstat (limited to 'src/third_party')
-rw-r--r--src/third_party/wiredtiger/SConscript13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/third_party/wiredtiger/SConscript b/src/third_party/wiredtiger/SConscript
index 1e52c00221e..5fddaf582e5 100644
--- a/src/third_party/wiredtiger/SConscript
+++ b/src/third_party/wiredtiger/SConscript
@@ -33,18 +33,19 @@ env.Append(CPPDEFINES=["HAVE_VERBOSE"])
conf = Configure(env)
if conf.CheckFunc("fallocate"):
- env.Append(CPPDEFINES=[
- "HAVE_FALLOCATE"
+ conf.env.Append(CPPDEFINES=[
+ "HAVE_FALLOCATE"
])
if conf.CheckFunc("sync_file_range"):
- env.Append(CPPDEFINES=[
- "HAVE_SYNC_FILE_RANGE"
+ conf.env.Append(CPPDEFINES=[
+ "HAVE_SYNC_FILE_RANGE"
])
if conf.CheckCHeader('x86intrin.h'):
- env.Append(CPPDEFINES=[
- "HAVE_X86INTRIN_H"
+ conf.env.Append(CPPDEFINES=[
+ "HAVE_X86INTRIN_H"
])
+env = conf.Finish();
if env.TargetOSIs('windows'):
env.Append(CPPPATH=["build_win"])