build: Use fs to get files basename

We can safely bump meson
This commit is contained in:
Marco Trevisan (Treviño)
2025-02-20 18:39:01 +01:00
parent e401fc10e8
commit c37da8568f
2 changed files with 3 additions and 3 deletions

View File

@@ -145,8 +145,7 @@ if get_option('introspection')
output: vdtest + '.test',
install_dir: installed_tests_testdir,
configuration: {
# FIXME: use fs.name() on meson 0.58
'exec': installed_tests_execdir / '@0@'.format(base_args[0]).split('/')[-1],
'exec': installed_tests_execdir / fs.name(base_args[0]),
'env': ' '.join([
envs_str,
'LD_LIBRARY_PATH=' + installed_tests_libdir,