mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-19 20:08:26 +02:00
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:
parent
16537df546
commit
7371415beb
2 changed files with 2 additions and 1 deletions
|
|
@ -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])
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ upower_LDFLAGS =
|
|||
$(PIE_LDFLAGS)
|
||||
|
||||
upower_LDADD = \
|
||||
$(GLIB_LIBS) \
|
||||
$(UPOWER_LIBS) \
|
||||
$(POLKIT_DBUS_LIBS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue