mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Actually set the execinfo flag on non-glibc systems
This commit is contained in:
@@ -367,6 +367,7 @@ def configure(env: "Environment"):
|
|||||||
# The default crash handler depends on glibc, so if the host uses
|
# The default crash handler depends on glibc, so if the host uses
|
||||||
# a different libc (BSD libc, musl), fall back to libexecinfo.
|
# 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.")
|
print("Note: Using `execinfo=yes` for the crash handler as required on platforms where glibc is missing.")
|
||||||
|
env["execinfo"] = True
|
||||||
|
|
||||||
if env["execinfo"]:
|
if env["execinfo"]:
|
||||||
env.Append(LIBS=["execinfo"])
|
env.Append(LIBS=["execinfo"])
|
||||||
|
|||||||
Reference in New Issue
Block a user