meson: Use soversion everywhere
Don't repeat the 2 version number hard-coding it, so we can easily track updates
This commit is contained in:
parent
c57defda92
commit
4562f9dae3
2 changed files with 2 additions and 2 deletions
|
@ -293,7 +293,7 @@ if get_option('introspection')
|
||||||
libfprint_public_headers,
|
libfprint_public_headers,
|
||||||
libfprint_sources,
|
libfprint_sources,
|
||||||
],
|
],
|
||||||
nsversion : '2.0',
|
nsversion : '@0@.0'.format(soversion),
|
||||||
namespace : 'FPrint',
|
namespace : 'FPrint',
|
||||||
symbol_prefix : 'fp_',
|
symbol_prefix : 'fp_',
|
||||||
identifier_prefix : 'Fp',
|
identifier_prefix : 'Fp',
|
||||||
|
|
|
@ -208,5 +208,5 @@ pkgconfig.generate(
|
||||||
version: meson.project_version(),
|
version: meson.project_version(),
|
||||||
libraries: libfprint,
|
libraries: libfprint,
|
||||||
subdirs: meson.project_name(),
|
subdirs: meson.project_name(),
|
||||||
filebase: meson.project_name() + '2',
|
filebase: meson.project_name() + '@0@'.format(soversion),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue