Commit ffb6df6f authored by Colin Walters's avatar Colin Walters Committed by Dan Williams

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's avatarColin Walters <walters@verbum.org>
parent ccb766fa
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment