Merge pull request #67272 from Riteo/fix-auto-execinfo

Actually set the execinfo flag on non-glibc systems
This commit is contained in:
Rémi Verschelde 2022-10-12 08:56:03 +02:00
commit ced736e584

View File

@ -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"])