mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-08 18:18:05 +02:00
build: Fix idevice support always being off
This commit is contained in:
parent
3079262bc3
commit
5f4d16ad4d
2 changed files with 3 additions and 1 deletions
|
|
@ -79,6 +79,7 @@ if os_backend == 'linux'
|
|||
plist_dep = dependency(libplist)
|
||||
endif
|
||||
endif
|
||||
cdata.set10('HAVE_IDEVICE', true)
|
||||
endif
|
||||
|
||||
historydir = get_option('historydir')
|
||||
|
|
|
|||
|
|
@ -21,8 +21,9 @@ upshared += { 'linux': static_library('upshared',
|
|||
'up-backend.c',
|
||||
'up-backend-linux-private.h',
|
||||
'up-native.c',
|
||||
idevice_sources
|
||||
],
|
||||
c_args: [ '-DG_LOG_DOMAIN="UPower-Linux"' ],
|
||||
dependencies: [ gudev_dep, upowerd_deps ],
|
||||
dependencies: [ gudev_dep, upowerd_deps, idevice_dep ],
|
||||
build_by_default: false,
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue