build: cleanup dependency checking

We always require polkit now, so that we can fallback when we fail to
communicate with the peer.
This commit is contained in:
Christian Hergert
2019-05-10 12:53:19 -07:00
parent eacdc47c34
commit 623d7ad027
5 changed files with 21 additions and 15 deletions

View File

@ -10,10 +10,10 @@ sysprofd_sources = [
pkglibexecdir = join_paths(get_option('prefix'), get_option('libexecdir'))
sysprofd_deps = [
dependency('glib-2.0', version: glib_req_version),
dependency('gio-2.0', version: glib_req_version),
dependency('gio-unix-2.0', version: glib_req_version),
dependency('polkit-gobject-1', version: polkit_req_version),
glib_dep,
gio_dep,
gio_unix_dep,
polkit_dep,
]
sysprofd = executable('sysprofd', sysprofd_sources,