From 9e5a5a11ed93637fe28735e3dd161e59c4c3e5d0 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Mon, 23 Oct 2017 20:54:03 +0200 Subject: meson: add opt-out of libunwind Libunwind has some issues on some platforms, so let's allow people who have issues to opt-out. This is similar to what we do in automake, and the implementation is modelled after our opt-out for valgrind. Signed-off-by: Erik Faye-Lund Reviewed-by: Dylan Baker --- meson_options.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index 1b90f5ced88..b44c93df001 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -142,6 +142,12 @@ option( value : true, description : 'Build with valgrind support if possible' ) +option( + 'libunwind', + type : 'boolean', + value : true, + description : 'Use libunwind for stack-traces if possible' +) option( 'build-tests', type : 'boolean', -- cgit v1.2.3