mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
20 lines
512 B
Meson
20 lines
512 B
Meson
libsysprof_memory_preload_deps = [
|
|
cc.find_library('dl', required: false),
|
|
libsysprof_capture_dep,
|
|
]
|
|
|
|
if get_option('libunwind')
|
|
libsysprof_memory_preload_deps += [libunwind_dep]
|
|
endif
|
|
|
|
libsysprof_memory_preload_sources = [
|
|
'sysprof-memory-collector.c',
|
|
]
|
|
|
|
libsysprof_memory_preload = shared_library('sysprof-memory-@0@'.format(libsysprof_api_version),
|
|
libsysprof_memory_preload_sources,
|
|
dependencies: libsysprof_memory_preload_deps,
|
|
install: true,
|
|
install_dir: get_option('libexecdir'),
|
|
)
|