From c37da8568fda577dd7004e69f2eaa97217c96e2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 20 Feb 2025 18:39:01 +0100 Subject: [PATCH] build: Use fs to get files basename We can safely bump meson --- meson.build | 3 ++- tests/meson.build | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 6f4e7c22..44be5aaa 100644 --- a/meson.build +++ b/meson.build @@ -6,8 +6,9 @@ project('libfprint', [ 'c', 'cpp' ], 'warning_level=1', 'c_std=gnu99', ], - meson_version: '>= 0.57.0') + meson_version: '>= 0.59.0') +fs = import('fs') gnome = import('gnome') libfprint_conf = configuration_data() diff --git a/tests/meson.build b/tests/meson.build index 03efba88..07c924be 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -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,