]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: require 0.57
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 23 May 2023 14:32:23 +0000 (16:32 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 23 May 2023 15:24:01 +0000 (17:24 +0200)
It is needed for fs.read()

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libmount/meson.build
meson.build

index 42b6b75e67fa82a4475e18c6fea181d3b70e2e3f..c52e2bed5368748479b28fb473775ac3638f020d 100644 (file)
@@ -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
index 029f93cf4994eba0d67828a00c5acfb8e084aa00..5eb6acb9dfbe631ebbc750f196cec63fa99f485e 100644 (file)
@@ -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')
@@ -3365,7 +3365,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(