mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
shared: remove use of libshared
This moves everything into other places and simple includes the files in the cases that it is necessary. In the future, we can rewrite sysprofd to use GDBus and add GetProcFile() to allow for client-side processing of kallsyms.
This commit is contained in:
@ -4,6 +4,7 @@ sysprofd_sources = [
|
||||
'sysprofd.c',
|
||||
'sd-bus-helper.c',
|
||||
'sd-bus-helper.h',
|
||||
'../libsysprof/sp-kallsyms.c',
|
||||
]
|
||||
|
||||
pkglibexecdir = join_paths(get_option('prefix'), get_option('libexecdir'))
|
||||
@ -11,14 +12,14 @@ pkglibexecdir = join_paths(get_option('prefix'), get_option('libexecdir'))
|
||||
sysprofd_deps = [
|
||||
dependency('libsystemd', version: '>=222'),
|
||||
dependency('glib-2.0', version: glib_req_version),
|
||||
libshared_dep,
|
||||
]
|
||||
|
||||
sysprofd = executable('sysprofd', sysprofd_sources,
|
||||
dependencies: sysprofd_deps,
|
||||
install: true,
|
||||
install_dir: pkglibexecdir,
|
||||
pie: true,
|
||||
dependencies: sysprofd_deps,
|
||||
install: true,
|
||||
install_dir: pkglibexecdir,
|
||||
pie: true,
|
||||
include_directories: [include_directories('.'), '../libsysprof'],
|
||||
)
|
||||
|
||||
sysprofdconf = configuration_data()
|
||||
|
||||
Reference in New Issue
Block a user