summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2022-03-12 04:27:58 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-12 05:00:44 +0000
commit6dd404e028547a29c21b047c2d91ed90ebb1edfb (patch)
treef9213eeb75ef30e5fd5d7d0d810bc5e096cb0a76 /SConstruct
parent2d3589491b2d0bb93d44219018a175d4a9ac0b76 (diff)
downloadmongo-6dd404e028547a29c21b047c2d91ed90ebb1edfb.tar.gz
SERVER-61856 SERVER-42470 update libunwind to 1.6.2
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index edb2dceeaa1..67a057d577a 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1578,7 +1578,7 @@ use_system_libunwind = use_system_version_of_library("libunwind")
# Assume system libunwind works if it's installed and selected.
# Vendored libunwind, however, works only on linux-x86_64.
can_use_libunwind = (use_system_libunwind or
- env.TargetOSIs('linux') and env['TARGET_ARCH'] == 'x86_64')
+ env.TargetOSIs('linux') and (env['TARGET_ARCH'] == 'x86_64' or env['TARGET_ARCH'] == 'aarch64'))
if use_libunwind == "off":
use_libunwind = False
@@ -4176,7 +4176,7 @@ def doConfigure(myenv):
conf.FindSysLibDep("unwind", ["unwind"])
if use_libunwind:
- if not conf.CheckLib("lzma"):
+ if not conf.FindSysLibDep("lzma", ["lzma"]):
myenv.ConfError("Cannot find system library 'lzma' required for use with libunwind")
if use_system_version_of_library("intel_decimal128"):