mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: make libunwind optional
This commit is contained in:
@ -1,9 +1,12 @@
|
||||
libsysprof_memory_preload_deps = [
|
||||
cc.find_library('dl', required: false),
|
||||
libsysprof_capture_dep,
|
||||
libunwind_dep,
|
||||
]
|
||||
|
||||
if get_option('libunwind')
|
||||
libsysprof_memory_preload_deps += [libunwind_dep]
|
||||
endif
|
||||
|
||||
libsysprof_memory_preload_sources = [
|
||||
'sysprof-memory-collector.c',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user