From a369feacc51821f0d91d7e203a9c8f942e43bfa7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Tue, 23 May 2023 16:32:23 +0200 Subject: [PATCH] meson: require 0.57 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It is needed for fs.read() Signed-off-by: Thomas Weißschuh --- libmount/meson.build | 2 +- meson.build | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libmount/meson.build b/libmount/meson.build index 42b6b75e67..c52e2bed53 100644 --- a/libmount/meson.build +++ b/libmount/meson.build @@ -141,7 +141,7 @@ foreach libmount_test: libmount_tests c_args : ['-DTEST_PROGRAM'], ) # the test-setup expects the helpers in the toplevel build-directory - link = meson.build_root() / test_name + link = meson.project_build_root() / test_name run_command('ln', '-srf', exe.full_path(), link, check : true) endforeach diff --git a/meson.build b/meson.build index 641d236747..84a86d47fa 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('util-linux', 'c', version : run_command('tools/git-version-gen', check: true).stdout(), - meson_version: '>=0.53.0', + meson_version: '>=0.57.0', license : 'GPLv2+') pkgconfig = import('pkgconfig') @@ -3338,7 +3338,7 @@ configure_file(output : 'meson.conf', '''asan=@0@ PYTHON=@1@ '''.format(get_option('b_sanitize')=='address' ? 'yes' : '', - python.path())]) + python.full_path())]) run_sh = find_program('tests/run.sh') run_target( -- 2.47.3