From c2a8a86b8a662c7927b31cca6a9d1564abe8b40f Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 28 Aug 2023 17:32:23 -0700 Subject: [PATCH] build: fix unwind check --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index a1fcf0ea..1efff297 100644 --- a/meson.build +++ b/meson.build @@ -106,7 +106,7 @@ config_h.set10('HAVE_POLKIT_AGENT', polkit_agent_dep.found()) polkit_dep = dependency('polkit-gobject-1', version: polkit_req_version, required: false) config_h.set10('HAVE_POLKIT', polkit_dep.found()) -if get_option('libsysprof') +if need_libsysprof libunwind_dep = dependency('libunwind-generic', required: true) config_h.set('ENABLE_LIBUNWIND', libunwind_dep.found()) config_h.set('HAVE_UNW_SET_CACHE_SIZE',