diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-11 18:49:27 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-11 20:44:52 +0200 |
commit | 2dbf8f4ea4992ca33c272786f860d7fc291ba89b (patch) | |
tree | fca28df47c9d2e3afc991c19de68fe80db477e18 /meson_options.txt | |
parent | 4542321c383304807228f204de600aa64944c87e (diff) | |
download | gobject-introspection-2dbf8f4ea4992ca33c272786f860d7fc291ba89b.tar.gz |
meson: Add a "python" option to make the python to build against configurable
This allows us to build with Python 2 and run tests with it.
This requires the new "python" meson module which was added in 0.46.0 so
bump the required meson version (glib needs a newer one anyway).
Also fixes a small test error under Python 2.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 28244208..49726be6 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -17,3 +17,7 @@ option('gtk-doc', type: 'boolean', value: false, option('cairo-libname', type: 'string', description: 'Custom name for the cairo-gobject library name' ) + +option('python', type: 'string', value: 'python3', + description: 'Path or name of the Python interpreter to build for' +) |