mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -58,8 +58,9 @@ libsysprof_public_sources += libsysprof_capture_sources
|
||||
libsysprof_public_headers += libsysprof_capture_headers
|
||||
|
||||
libsysprof_deps = [
|
||||
dependency('gio-2.0', version: glib_req_version),
|
||||
dependency('gio-unix-2.0', version: glib_req_version),
|
||||
gio_dep,
|
||||
gio_unix_dep,
|
||||
polkit_dep,
|
||||
]
|
||||
|
||||
if host_machine.system() == 'linux'
|
||||
@ -89,10 +90,6 @@ if host_machine.system() != 'darwin'
|
||||
libsysprof_deps += [cxx.find_library('stdc++')]
|
||||
endif
|
||||
|
||||
if get_option('with_sysprofd') != 'none'
|
||||
libsysprof_deps += dependency('polkit-gobject-1')
|
||||
endif
|
||||
|
||||
libsysprof = shared_library(
|
||||
'sysprof-@0@'.format(libsysprof_api_version),
|
||||
libsysprof_public_sources + libsysprof_private_sources,
|
||||
|
||||
Reference in New Issue
Block a user