[vte] build: Use an explict python interpreter



commit 8b75bf6220ea53d738911090a97125a5671f3de9
Author: Zander Brown <zbrown gnome org>
Date:   Tue Jun 21 23:52:35 2022 +0200

    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

 src/meson.build | 2 ++
 1 file changed, 2 insertions(+)
---
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@',
   ],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]