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 <hoegsberg@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7227>
This commit is contained in:
parent
f2a27d72de
commit
c4f8d421df
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue