From e48c71d445f8b5557f45974eb0fcf5130b1e7b20 Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Wed, 20 Mar 2024 11:33:46 +0100 Subject: 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. --- meson.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meson.build') 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 ')) private_cfg.set('HAVE_ICONV', cc.has_function('iconv', prefix: '#include ')) +private_cfg.set('HAVE_BACKTRACE', + cc.has_function('backtrace', prefix: '#include ')) # Test if structs have specific member private_cfg.set('HAVE_STRUCT_STAT_ST_ATIM', -- cgit v1.2.3