mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
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:
committed by
Marco Trevisan (Treviño)
parent
e0c41c5444
commit
89890dbd1f
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user