summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2020-10-15 18:03:30 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-28 19:39:36 +0000
commitb47dd216567ec4226d57308ea1d112887e9fab16 (patch)
tree5d17a3749d89cf3623988e4e3426ebd8ef449865
parentab8a0797f06940df4240a39f05e0bfdcc4c59481 (diff)
downloadmongo-b47dd216567ec4226d57308ea1d112887e9fab16.tar.gz
SERVER-46871 Added configure check for lzma when libunwind is in use
(cherry picked from commit 0c904d2a3d9028d171961d88178e3f15c2d5a1e0)
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 9781f09f29f..0d6690f7226 100644
--- a/SConstruct
+++ b/SConstruct
@@ -3565,6 +3565,10 @@ def doConfigure(myenv):
if use_system_version_of_library("libunwind"):
conf.FindSysLibDep("unwind", ["unwind"])
+ if use_libunwind:
+ if not conf.CheckLib("lzma"):
+ myenv.ConfError("Cannot find system library 'lzma' required for use with libunwind")
+
if use_system_version_of_library("intel_decimal128"):
conf.FindSysLibDep("intel_decimal128", ["bid"])