diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/gobject-introspection.recipe | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/gobject-introspection.recipe b/recipes/gobject-introspection.recipe index f34160dd..466b798d 100644 --- a/recipes/gobject-introspection.recipe +++ b/recipes/gobject-introspection.recipe @@ -69,3 +69,12 @@ class Recipe(recipe.Recipe): 'share/gobject-introspection-1.0', 'share/aclocal/introspection.m4' ] + + def prepare(self): + if self.config.platform == Platform.WINDOWS: + # gobject-introspection forces a Python 3 interpreter named "python3", + # which on Windows matches the one provided by UCRT64. However, + # Meson's Python 3 interpreter is `python.exe`. Meson + # can handle this for us, provided we either don't force the + # naming, or supply the correct name to `find_installation` here. + self.meson_options['python'] = self.config.python_exe |