blob: dc702a0e37ce34856dfcf43dae508b9545c3e04d [file] [log] [blame]
Patrick Williams03907ee2022-05-01 06:28:52 -05001From 19188367bee87b0084ab34869455155da5cb1731 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 13 Apr 2022 08:47:39 -0700
4Subject: [PATCH] meson: Check for libunwind instead of libunwind-generic
5
6This helps it to use llvm unwinder since libunwind-generic is specific
7to nongnu libunwind.
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 meson.build | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/meson.build b/meson.build
16index 2835782..0fdb39a 100644
17--- a/meson.build
18+++ b/meson.build
19@@ -81,7 +81,7 @@ config_h.set10('HAVE_POLKIT_AGENT', polkit_agent_dep.found())
20 config_h.set10('HAVE_POLKIT', polkit_dep.found())
21
22 if get_option('libunwind')
23- libunwind_dep = dependency('libunwind-generic')
24+ libunwind_dep = dependency('libunwind')
25 config_h.set('ENABLE_LIBUNWIND', libunwind_dep.found())
26 config_h.set('HAVE_UNW_SET_CACHE_SIZE', libunwind_dep.found() and cc.has_header_symbol('libunwind.h', 'unw_set_cache_size', dependencies: [libunwind_dep]))
27 endif
28--
292.35.2
30