summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2021-08-16 10:00:28 +0100
committerFrediano Ziglio <freddy77@gmail.com>2021-08-16 10:00:28 +0100
commit96dd7873777583820a19c8261f5adb5807960c4d (patch)
tree8a295e0fe22c3d2ea98dc742e43e209dc0fc90c0
parentde79bac8e94ce84f4c88719729d59a6f5e3d6bf3 (diff)
Find Python3 installation correctly on MacOS
This fixes partially https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/144. Meson requires Python3 so you should be able to detect python3. Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index e49d3ed..aff6243 100644
--- a/meson.build
+++ b/meson.build
@@ -127,7 +127,7 @@ endforeach
# Python
if spice_common_generate_client_code or spice_common_generate_server_code
py_module = import('python')
- python = py_module.find_installation()
+ python = py_module.find_installation('python3')
if get_option('python-checks')
foreach module : ['six', 'pyparsing']