From 6712a8a4360c65627f2b61919b5408684b4b60c6 Mon Sep 17 00:00:00 2001 From: Abderrahim Kitouni Date: Fri, 2 Aug 2019 05:51:47 +0100 Subject: [PATCH] build: use meson to find system python instead of assuming it's called python some systems only have python3 --- babl/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/babl/meson.build b/babl/meson.build index 72b0e9b..c57bc93 100644 --- a/babl/meson.build +++ b/babl/meson.build @@ -1,13 +1,15 @@ bablInclude = include_directories('.') subdir('base') +python = import('python').find_installation() + version_script = 'babl.map' export_symbols = join_paths(meson.source_root(), 'export-symbols') version_script_target = custom_target(version_script, input : [ export_symbols, ] , output: [ version_script ] , command: [ - 'python', + python, join_paths(meson.source_root(), 'gen_babl_map.py'), export_symbols, version_script, -- 2.30.2