summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-11-24 12:45:29 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-03-10 19:05:19 +0530
commitcde3376666b5a125b6a9093268f39399d9566488 (patch)
tree609aa911ed2b3ee4d33994430d4049559483743d
parentfd280602884b50dc58acf3a88dde64820f8f5431 (diff)
downloadgobject-introspection-cde3376666b5a125b6a9093268f39399d9566488.tar.gz
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.
-rw-r--r--gir/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/gir/meson.build b/gir/meson.build
index e471b269..ff812846 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',