From 89890dbd1f00289ed8ae2bcff41edc993a33b457 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Thu, 21 Jan 2021 17:36:41 +0100 Subject: [PATCH] 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. --- libfprint/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfprint/meson.build b/libfprint/meson.build index 0090ece..66c4c74 100644 --- a/libfprint/meson.build +++ b/libfprint/meson.build @@ -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,