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:
Benjamin Berg 2021-01-21 17:36:41 +01:00 committed by Marco Trevisan (Treviño)
parent e0c41c5444
commit 89890dbd1f

View file

@ -267,7 +267,7 @@ libfprint_drivers = static_library('fprint-drivers',
mapfile = files('libfprint.ver')
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: [
fp_enums,
libfprint_sources,