[gobject-introspection/wip/meson: 13/23] meson: Explicitly use python3 for running g-ir-scanner



commit 379161b7595554d446ba62777e63af8f0cea77cb
Author: Nirbheek Chauhan <nirbheek centricular com>
Date:   Fri Nov 24 12:45:29 2017 +0530

    meson: Explicitly use python3 for running g-ir-scanner
    
    Otherwise it won't run on Windows because it doesn't have a .py suffix
    and it isn't an executable. Meson should probably detect this case and
    automatically insert python3.

 gir/meson.build |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gir/meson.build b/gir/meson.build
index e471b26..ff81284 100644
--- a/gir/meson.build
+++ b/gir/meson.build
@@ -38,6 +38,7 @@ girdir = join_paths(get_option('datadir'), 'gir-1.0')
 install_data(gir_files, install_dir: girdir)
 
 scanner_command = [
+  python3,
   girscanner,
   '--output=@OUTPUT@',
   '--no-libtool',


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