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:
Laurent Bigonville
2020-02-13 18:11:46 +01:00
committed by Benjamin Berg
parent 96fba323b9
commit 3d68cddfe7
2 changed files with 5 additions and 0 deletions

View File

@@ -204,6 +204,7 @@ deps = [
enums_dep,
gio_dep,
glib_dep,
gobject_dep,
gusb_dep,
imaging_dep,
mathlib_dep,
@@ -269,6 +270,7 @@ libfprint_dep = declare_dependency(link_with: libfprint,
enums_dep,
gio_dep,
glib_dep,
gobject_dep,
gusb_dep,
])
@@ -325,6 +327,7 @@ if get_option('introspection')
link_with : libfprint,
dependencies : [
gio_dep,
gobject_dep,
gusb_dep,
],
includes : [