[json-glib] build: Use the Meson 'python3' module



commit 59762fabeae64f9b80993729ef38df730686a3f8
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sat Apr 1 15:54:52 2017 +0100

    build: Use the Meson 'python3' module
    
    This allows finding Python3 on Windows, in order to build and run the
    tests.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780550

 json-glib/tests/meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/json-glib/tests/meson.build b/json-glib/tests/meson.build
index 63b8baa..1e6fbd7 100644
--- a/json-glib/tests/meson.build
+++ b/json-glib/tests/meson.build
@@ -15,7 +15,7 @@ tests = [
   'serialize-full',
 ]
 
-python3 = find_program('python3')
+python3 = import('python3').find_python()
 gen_installed_test = join_paths(meson.current_source_dir(), 'gen-installed-test.py')
 
 test_data = [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]