summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZander Brown <zbrown@gnome.org>2022-06-21 23:52:35 +0200
committerChristian Persch <chpe@src.gnome.org>2022-06-21 23:52:35 +0200
commit8b75bf6220ea53d738911090a97125a5671f3de9 (patch)
tree8cd05e4f54f158fc5d5c50694e3fa53d02424c07
parent7fb4e9a75d9a521079a55c976ad4d115cd7b03e4 (diff)
downloadvte-8b75bf6220ea53d738911090a97125a5671f3de9.tar.gz
build: Use an explict python interpreter
Add the python interpreter explicitly to the custom_target's command, so that it runs them with that python instead of the environment's. https://gitlab.gnome.org/GNOME/vte/-/issues/350 https://gitlab.gnome.org/GNOME/vte/-/issues/2564
-rw-r--r--src/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build
index e1abc4db..9253a4a5 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -61,6 +61,7 @@ modes_sources = files(
modes_sources += custom_target(
'modes',
command: [
+ python,
files('modes.py'),
'--destdir', '@OUTDIR@',
],
@@ -93,6 +94,7 @@ parser_sources = files(
parser_sources += custom_target(
'parser-seq',
command: [
+ python,
files('parser-seq.py'),
'--destdir', '@OUTDIR@',
],