mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: Move Meson dependency() calls to where they’re used
This avoids making the project depend on all its dependencies, some of which are optional, when being built as a Meson subproject. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
@ -16,10 +16,10 @@ sysprofd_sources = [
|
||||
pkglibexecdir = join_paths(get_option('prefix'), get_option('libexecdir'))
|
||||
|
||||
sysprofd_deps = [
|
||||
glib_dep,
|
||||
gio_dep,
|
||||
gio_unix_dep,
|
||||
polkit_dep,
|
||||
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),
|
||||
libsysprof_capture_dep,
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user