Actually set the execinfo flag on non-glibc systems

(cherry picked from commit a3b5353892)
This commit is contained in:
Riteo 2022-10-11 21:45:29 +02:00 committed by Rémi Verschelde
parent fc4d35432e
commit d69a9f43ea
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -404,6 +404,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"])