summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-04-01 15:54:52 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-04-01 16:24:19 +0100
commitfdae08b4ff1addcc786aa572a2e3282b38e3b145 (patch)
tree3ff2090b5cf612987e1087ee2779a6f745c4e577
parent4d6a50d5b613620c2b6c77d8e75960a6e8ea960d (diff)
downloadjson-glib-fdae08b4ff1addcc786aa572a2e3282b38e3b145.tar.gz
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 (cherry picked from commit 59762fabeae64f9b80993729ef38df730686a3f8) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
-rw-r--r--json-glib/tests/meson.build2
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 = [