aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2024-03-20 11:33:46 +0100
committerBernd Schubert <bschubert@ddn.com>2024-03-20 12:37:17 +0100
commite48c71d445f8b5557f45974eb0fcf5130b1e7b20 (patch)
tree4a98512ac4f9472f78c184763c09b5c6babc5ae6 /meson.build
parent99ef7a93eaf5440eddc03879b483726b329ccb4b (diff)
downloadlibfuse-e48c71d445f8b5557f45974eb0fcf5130b1e7b20.tar.gz
Add glibc backtrace to signal handler
It is very hard to see in github tests what is actually failing with signals - add the gnu-libc backtrace handler.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 7d62dcf..7d8db7f 100644
--- a/meson.build
+++ b/meson.build
@@ -61,6 +61,8 @@ private_cfg.set('HAVE_SETXATTR',
cc.has_function('setxattr', prefix: '#include <sys/xattr.h>'))
private_cfg.set('HAVE_ICONV',
cc.has_function('iconv', prefix: '#include <iconv.h>'))
+private_cfg.set('HAVE_BACKTRACE',
+ cc.has_function('backtrace', prefix: '#include <execinfo.h>'))
# Test if structs have specific member
private_cfg.set('HAVE_STRUCT_STAT_ST_ATIM',