aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/sysprof/sysprof/0001-meson-Check-for-libunwind-instead-of-libunwind-gener.patch
blob: dc702a0e37ce34856dfcf43dae508b9545c3e04d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 19188367bee87b0084ab34869455155da5cb1731 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 13 Apr 2022 08:47:39 -0700
Subject: [PATCH] meson: Check for libunwind instead of libunwind-generic

This helps it to use llvm unwinder since libunwind-generic is specific
to nongnu libunwind.

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 2835782..0fdb39a 100644
--- a/meson.build
+++ b/meson.build
@@ -81,7 +81,7 @@ config_h.set10('HAVE_POLKIT_AGENT', polkit_agent_dep.found())
 config_h.set10('HAVE_POLKIT', polkit_dep.found())
 
 if get_option('libunwind')
-  libunwind_dep = dependency('libunwind-generic')
+  libunwind_dep = dependency('libunwind')
   config_h.set('ENABLE_LIBUNWIND', libunwind_dep.found())
   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]))
 endif
-- 
2.35.2