mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 13:40:39 +01:00
libnm-glib,libnm-util: -glib requires -util, -util requires NetworkManager
libnm-glib's public headers include headers from libnm-util. While it does work to just $(pkg-config --cflags --libs libnm-glib), this is only because libnm-glib has a requires on NetworkManager which happens to use the same include directory as libnm-util. The correct dependency chain is thus: libnm-glib -> libnm-util -> NetworkManager Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
parent
ccb766fa01
commit
ffb6df6f4a
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ includedir=@includedir@
|
|||
Name: libnm-glib
|
||||
Description: Convenience library for clients of NetworkManager
|
||||
Version: @VERSION@
|
||||
Requires: NetworkManager >= @VERSION@ gobject-2.0 dbus-glib-1
|
||||
Requires: libnm-util >= @VERSION@ NetworkManager >= @VERSION@ gobject-2.0 dbus-glib-1
|
||||
Cflags: -I${includedir}/libnm-glib
|
||||
Libs: -L${libdir} -lnm-glib
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ includedir=@includedir@
|
|||
Name: libnm-util
|
||||
Description: Convenience library for clients of NetworkManager
|
||||
Version: @VERSION@
|
||||
Requires: glib-2.0 dbus-glib-1
|
||||
Requires: NetworkManager >= @VERSION@ glib-2.0 dbus-glib-1
|
||||
Cflags: -I${includedir}/NetworkManager
|
||||
Libs: -L${libdir} -lnm-util
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue