mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: remove optional support for libunwind
backtrace() was only ever used for bringup, not actually meant to be used in any production capacity.
This commit is contained in:
@ -3,14 +3,10 @@ libdl_dep = dependency('dl', required: false)
|
||||
preload_deps = [
|
||||
dependency('glib-2.0'),
|
||||
libsysprof_capture_dep,
|
||||
libunwind_dep,
|
||||
libdl_dep,
|
||||
]
|
||||
|
||||
if get_option('libunwind')
|
||||
preload_deps += [libunwind_dep]
|
||||
endif
|
||||
|
||||
|
||||
libsysprof_memory_preload = shared_library('sysprof-memory-@0@'.format(libsysprof_api_version),
|
||||
['sysprof-memory-collector.c'],
|
||||
dependencies: preload_deps,
|
||||
|
||||
Reference in New Issue
Block a user