mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-01-08 11:30:12 +01:00
build: Require new gudev to fix battery detection
gudev 234 had bugs converting cached sysfs properties to boolean which caused upower to think that batteries were not there, as the "present" sysfs attribute was misread. Require at least gudev 235 to avoid battery detection being broken. Closes: #149
This commit is contained in:
parent
26c90728c3
commit
e66c7da2d2
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ AC_SUBST(BACKEND, "$with_backend")
|
|||
# only need GUdev on linux
|
||||
have_idevice=no
|
||||
if test x$with_backend = xlinux; then
|
||||
PKG_CHECK_MODULES(GUDEV, [gudev-1.0 >= 234])
|
||||
PKG_CHECK_MODULES(GUDEV, [gudev-1.0 >= 235])
|
||||
AC_ARG_WITH(idevice, AS_HELP_STRING([--without-idevice],[Build without libimobiledevice]),
|
||||
with_idevice=$withval,with_idevice=yes)
|
||||
LIBPLIST_DEP=libplist
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue