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

Author: Dylan Baker <dy...@pnwbakers.com>
Date:   Tue Aug 14 09:33:07 2018 -0700

meson: use python3 module to find python3

This handy helper is nice for OSes that are not linux or BSD like (mac
and windows) as it knows how to find python3 in odd places.

Reviewed-by: Eric Engestrom <eric.engest...@intel.com>
Reviewed-by: Jose Fonseca <jfons...@vmware.com>

---

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

diff --git a/meson.build b/meson.build
index c9ef70346a..351c0785af 100644
--- a/meson.build
+++ b/meson.build
@@ -697,7 +697,7 @@ if with_platform_haiku
   pre_args += '-DHAVE_HAIKU_PLATFORM'
 endif
 
-prog_python = find_program('python3')
+prog_python = import('python3').find_python()
 has_mako = run_command(
   prog_python, '-c',
   '''

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to