summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-04-20 23:32:27 +0200
committerMathieu Duponchelle <mathieu@centricular.com>2018-04-20 23:32:27 +0200
commitdd677c022e34e0646ea20a414572f148e7d05b99 (patch)
tree4db6b91d40763dca79963210f7f4db9b9ebd27b0
parent2273b75b39c0d350e8a3a5af98f7a1c7b5d666d6 (diff)
downloadpygobject-dd677c022e34e0646ea20a414572f148e7d05b99.tar.gz
meson.build: require python installation
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 357cadbf..d7722ba6 100644
--- a/meson.build
+++ b/meson.build
@@ -13,7 +13,8 @@ pygobject_version_micro = version_arr[2].to_int()
platform_version = '@0@.0'.format(pygobject_version_major)
pymod = import('python')
-python = pymod.find_installation(get_option('python'))
+python = pymod.find_installation(get_option('python'), required: true)
+
python_dep = python.dependency(required : true)
python_no_warn_flags = []