mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-12-25 01:20:08 +01:00
build: Use fs to get files basename
We can safely bump meson
This commit is contained in:
parent
e401fc10e8
commit
c37da8568f
2 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue