mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
Properly set the dependencies in the pkg-config file
The public API uses gio and gobject header, ensure that these are in the list of Required pkg-config modules, otherwise they are added to Required.private which is not OK.
This commit is contained in:
committed by
Benjamin Berg
parent
96fba323b9
commit
3d68cddfe7
@@ -79,6 +79,7 @@ versioned_libname = meson.project_name() + '-' + soversion.to_string()
|
||||
# Dependencies
|
||||
glib_dep = dependency('glib-2.0', version: '>=' + glib_min_version)
|
||||
gio_dep = dependency('gio-unix-2.0', version: '>=' + glib_min_version)
|
||||
gobject_dep = dependency('gobject-2.0', version: '>=' + glib_min_version)
|
||||
gusb_dep = dependency('gusb', version: '>= 0.2.0')
|
||||
mathlib_dep = cc.find_library('m', required: false)
|
||||
|
||||
@@ -210,6 +211,7 @@ pkgconfig.generate(
|
||||
description: 'Generic C API for fingerprint reader access',
|
||||
version: meson.project_version(),
|
||||
libraries: libfprint,
|
||||
requires: [gio_dep, gobject_dep],
|
||||
subdirs: versioned_libname,
|
||||
filebase: versioned_libname,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user