meson: Substitute the Python shebang

Just like we do with Autotools. This allows building glib-mkenums and
glib-genmarshal on older platforms that only have Python 2.
This commit is contained in:
Emmanuele Bassi
2017-07-14 20:43:19 +01:00
parent 1eda0627f3
commit 0f18a2ebda
3 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!@PYTHON@
# pylint: disable=too-many-lines, missing-docstring, invalid-name