Fix build regression

The removal of dbus-glib and libdbus build dependencies has introduced
a build regression on upower, which fails to link with gobject

Signed-off-by: Richard Hughes <richard@hughsie.com>
This commit is contained in:
Arnaud Quette 2015-08-06 13:39:24 +02:00 committed by Richard Hughes
parent 16537df546
commit 7371415beb
2 changed files with 2 additions and 1 deletions

View file

@ -152,7 +152,7 @@ AX_CHECK_LINK_FLAG([-Wl,-z,relro,-z,now],
[RELRO_LDFLAGS="-Wl,-z,relro,-z,now"])
AC_SUBST([RELRO_LDFLAGS])
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.34.0])
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.34.0 gobject-2.0])
PKG_CHECK_MODULES(GIO, [gio-2.0 >= 2.16.1])
PKG_CHECK_MODULES(GIO_UNIX, [gio-unix-2.0])

View file

@ -25,6 +25,7 @@ upower_LDFLAGS =
$(PIE_LDFLAGS)
upower_LDADD = \
$(GLIB_LIBS) \
$(UPOWER_LIBS) \
$(POLKIT_DBUS_LIBS)