summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-12 08:56:03 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-12 08:56:03 +0200
commitced736e584b625d8915780301883d773294dc1c4 (patch)
treeabd299a5eee4ace78bbff0a21dbb7f5bae3c2344 /platform
parent3852b5017cb1cf834500d873051b3531014d03f6 (diff)
parenta3b53538920e1a60102623a894533da76f127c22 (diff)
Merge pull request #67272 from Riteo/fix-auto-execinfo
Actually set the execinfo flag on non-glibc systems
Diffstat (limited to 'platform')
-rw-r--r--platform/linuxbsd/detect.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index 86ae1f2d9c..ac69f3806b 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -367,6 +367,7 @@ def configure(env: "Environment"):
# The default crash handler depends on glibc, so if the host uses
# a different libc (BSD libc, musl), fall back to libexecinfo.
print("Note: Using `execinfo=yes` for the crash handler as required on platforms where glibc is missing.")
+ env["execinfo"] = True
if env["execinfo"]:
env.Append(LIBS=["execinfo"])