[Spice-commits] meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Aug 16 15:06:24 UTC 2021


 meson.build |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 96dd7873777583820a19c8261f5adb5807960c4d
Author: Frediano Ziglio <freddy77 at gmail.com>
Date:   Mon Aug 16 10:00:28 2021 +0100

    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 at gmail.com>

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']


More information about the Spice-commits mailing list