build: Explicitly mark libfprint as a shared library
While meson suggests to always use 'library' this leads to some unwanted behaviors when it comes to generate pkg-config files for it, as they will include `Libs.Private` / `Required.private` fields that should not be really part of a shared library as libfprint is meant to be used.
This commit is contained in:
parent
e0c41c5444
commit
89890dbd1f
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ libfprint_drivers = static_library('fprint-drivers',
|
||||||
mapfile = files('libfprint.ver')
|
mapfile = files('libfprint.ver')
|
||||||
vflag = '-Wl,--version-script,@0@/@1@'.format(meson.source_root(), mapfile[0])
|
vflag = '-Wl,--version-script,@0@/@1@'.format(meson.source_root(), mapfile[0])
|
||||||
|
|
||||||
libfprint = library(versioned_libname.split('lib')[1],
|
libfprint = shared_library(versioned_libname.split('lib')[1],
|
||||||
sources: [
|
sources: [
|
||||||
fp_enums,
|
fp_enums,
|
||||||
libfprint_sources,
|
libfprint_sources,
|
||||||
|
|
Loading…
Reference in a new issue