Actually set the execinfo flag on non-glibc systems

(cherry picked from commit a3b53538920e1a60102623a894533da76f127c22)
This commit is contained in:
Riteo 2022-10-11 21:45:29 +02:00 committed by Relintai
parent 5b2fa8320b
commit 658e19194d

View File

@ -369,6 +369,7 @@ def configure(env):
# 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"])