projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86a82b6
)
meson: check for python2 mako
author
Dylan Baker
<dylan@pnwbakers.com>
Thu, 28 Sep 2017 17:48:30 +0000
(10:48 -0700)
committer
Dylan Baker
<dylan@pnwbakers.com>
Mon, 2 Oct 2017 16:33:19 +0000
(09:33 -0700)
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 02f43eec23092c753002256d5a0b99f920ce4cff..329495ee1b31937fc00b2eeb44b91e51ddec9dbf 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-53,6
+53,10
@@
if _vulkan_drivers != ''
endif
prog_python2 = find_program('python2')
+has_mako = run_command(prog_python2, '-c', 'import mako')
+if has_mako.returncode() != 0
+ error('Python (2.x) mako module required to build mesa.')
+endif
cc = meson.get_compiler('c')
if cc.get_id() == 'gcc' and cc.version().version_compare('< 4.4.6')