From c4f8d421df2e62bf02063906ce722f3fe25cbea7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2020 13:47:58 -0700 Subject: [PATCH] meson: Don't enable libunwind by in 'auto' mode on Android. On Android we're expected to use their backtrace library. Reviewed-by: Kristian H. Kristensen Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 2e1d4aced57a7..a887f5c235bf9 100644 --- a/meson.build +++ b/meson.build @@ -1667,7 +1667,7 @@ elif _libunwind == 'false' _libunwind = 'disabled' warning('libunwind option "false" deprecated, please use "disabled" instead.') endif -if _libunwind != 'disabled' +if _libunwind != 'disabled' and not with_platform_android dep_unwind = dependency('libunwind', required : _libunwind == 'enabled') if dep_unwind.found() pre_args += '-DHAVE_LIBUNWIND'