mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
AK: Do not build against libexecinfo on non-glibc systems
It seems that libexecinfo was broken on musl (and possibly other libcs) for quite a while now (resulting in a segfault, or returning 0 frames). Hence, we shouldn't include it there because it doesn't provide any added functionality.
This commit is contained in:
parent
37c66c1520
commit
4cc93cf80f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
#include <AK/StringBuilder.h>
|
||||
#include <AK/StringView.h>
|
||||
|
||||
#if defined(AK_OS_LINUX) || defined(AK_LIBC_GLIBC) || defined(AK_OS_BSD_GENERIC) || defined(AK_OS_SOLARIS) || defined(AK_OS_HAIKU)
|
||||
#if (defined(AK_OS_LINUX) && defined(AK_LIBC_GLIBC)) || defined(AK_OS_BSD_GENERIC) || defined(AK_OS_SOLARIS) || defined(AK_OS_HAIKU)
|
||||
# define EXECINFO_BACKTRACE
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue