summaryrefslogtreecommitdiff
path: root/platform/linuxbsd
diff options
context:
space:
mode:
authorRiteo <riteo@posteo.net>2022-10-11 21:45:29 +0200
committerRiteo <riteo@posteo.net>2022-10-11 21:45:29 +0200
commita3b53538920e1a60102623a894533da76f127c22 (patch)
treea6886dedc16246813476929a3c9b39d4c1acdb2f /platform/linuxbsd
parent18d2035a3dec470cf99a1413d243a93547cbb123 (diff)
Actually set the execinfo flag on non-glibc systems
Diffstat (limited to 'platform/linuxbsd')
-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"])