Module: Mesa
Branch: master
Commit: c4f8d421df2e62bf02063906ce722f3fe25cbea7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4f8d421df2e62bf02063906ce722f3fe25cbea7

Author: Eric Anholt <[email protected]>
Date:   Mon Oct 19 13:47:58 2020 -0700

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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7227>

---

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 2e1d4aced57..a887f5c235b 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'

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to