diff options
author | Mathieu Bridon <[email protected]> | 2018-08-09 10:27:26 +0200 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-08-10 15:15:09 -0700 |
commit | 2ee1c86d71bee5ddca2c8795b4d343e31d28df99 (patch) | |
tree | 434ff307fe52734f62ae83427accc863cb455778 /src/util | |
parent | bd27203f4d808763ac24ac94eb677cacf3e7cb99 (diff) |
meson: Build with Python 3
Now that all the build scripts are compatible with both Python 2 and 3,
we can flip the switch and tell Meson to use the latter.
Since Meson already depends on Python 3 anyway, this means we don't need
two different Python stacks to build Mesa.
Signed-off-by: Mathieu Bridon <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/meson.build | 2 | ||||
-rw-r--r-- | src/util/xmlpool/meson.build | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/meson.build b/src/util/meson.build index 6386d945a22..51980e9214e 100644 --- a/src/util/meson.build +++ b/src/util/meson.build @@ -100,7 +100,7 @@ format_srgb = custom_target( 'format_srgb', input : ['format_srgb.py'], output : 'format_srgb.c', - command : [prog_python2, '@INPUT0@'], + command : [prog_python, '@INPUT0@'], capture : true, ) diff --git a/src/util/xmlpool/meson.build b/src/util/xmlpool/meson.build index 97693fac8c4..346b1956a55 100644 --- a/src/util/xmlpool/meson.build +++ b/src/util/xmlpool/meson.build @@ -22,7 +22,7 @@ xmlpool_options_h = custom_target( 'xmlpool_options.h', input : ['gen_xmlpool.py', 't_options.h'], output : 'options.h', - command : [prog_python2, '@INPUT@', meson.current_source_dir()], + command : [prog_python, '@INPUT@', meson.current_source_dir()], capture : true, depend_files : files('ca.po', 'es.po', 'de.po', 'nl.po', 'sv.po', 'fr.po'), ) |