[sysprof] build: require libunwind unless disabled
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] build: require libunwind unless disabled
- Date: Fri, 5 Nov 2021 02:48:34 +0000 (UTC)
commit 75364415b329c1957ffa27be50c520fd44415b6f
Author: Christian Hergert <chergert redhat com>
Date: Thu Nov 4 19:48:29 2021 -0700
build: require libunwind unless disabled
Only some situations can use this properly without libunwind, so make
sure that we have it available unless -Dlibunwind=false.
Distributors, please be kind, use libunwind!
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index e8f31054..8feed80a 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', required: false)
+ libunwind_dep = dependency('libunwind-generic')
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]