meson: Use more meson's project_name()

Not that libfprint is long to write, but in case we'll ever change the
basename, we do it once.
This commit is contained in:
Marco Trevisan (Treviño)
2019-12-16 19:02:00 +01:00
parent c806993cb9
commit c57defda92
4 changed files with 10 additions and 8 deletions

View File

@@ -203,10 +203,10 @@ subdir('tests')
pkgconfig = import('pkgconfig')
pkgconfig.generate(
name: 'libfprint',
name: meson.project_name(),
description: 'Generic C API for fingerprint reader access',
version: meson.project_version(),
libraries: libfprint,
subdirs: 'libfprint',
filebase: 'libfprint2',
subdirs: meson.project_name(),
filebase: meson.project_name() + '2',
)