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,