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, 4 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/SConscript b/src/third_party/wiredtiger/SConscript
index 6359568f0b2..a9f43aaa2ac 100644
--- a/src/third_party/wiredtiger/SConscript
+++ b/src/third_party/wiredtiger/SConscript
@@ -4,10 +4,14 @@ import textwrap
Import("env debugBuild")
Import("get_option")
+Import("endian")
env = env.Clone()
env.InjectThirdPartyIncludePaths(libraries=['snappy', 'zlib'])
+if endian == "big":
+ env.Append(CPPDEFINES=[('WORDS_BIGENDIAN', 1)])
+
env.Append(CPPPATH=[
"src/include",
])