[gom] meson: Use a more idiomatic way to find Python 3



commit fec80d9bfc5fb533df12c2ad9c7edb1a1742a29d
Author: Mathieu Bridon <bochecha daitauha fr>
Date:   Sat Apr 29 13:44:31 2017 +0200

    meson: Use a more idiomatic way to find Python 3
    
    We were using the generic find_program function to find the python3
    executable.
    
    However, Meson provides a  builtin python3 module which, among other
    things, allows doing just that.
    
    http://mesonbuild.com/Python-3-module.html
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781944

 bindings/python/meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bindings/python/meson.build b/bindings/python/meson.build
index 9c9f6ba..feb4a9c 100644
--- a/bindings/python/meson.build
+++ b/bindings/python/meson.build
@@ -1,4 +1,4 @@
-python3 = find_program('python3')
+python3 = import('python3').find_python()
 
 get_overridedir = '''
 import os


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