[atkmm] meson.build: import('python').find_installation() with argument



commit 4fb54fce9c8b11709d0f8ef66e354ceaf31bdea9
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Sat Feb 12 12:58:51 2022 +0100

    meson.build: import('python').find_installation() with argument
    
    Let import('python').find_installation() always find the python
    installation used to run Meson.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index f1c83c9..5ee418b 100644
--- a/meson.build
+++ b/meson.build
@@ -44,7 +44,7 @@ project_build_root = meson.current_build_dir()
 
 cpp_compiler = meson.get_compiler('cpp')
 is_msvc = cpp_compiler.get_id() == 'msvc'
-python3 = import('python').find_installation('python3')
+python3 = import('python').find_installation()
 
 python_version = python3.language_version()
 python_version_req = '>= 3.5'


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