1 gst_tracers_sources = [
10 gst_tracers_sources += ['gstrusage.c']
13 tracers_args = gst_c_args + ['-DGST_USE_UNSTABLE_API']
15 unwind_dep = dependency('libunwind', required : false)
17 tracers_args += ['-DHAVE_UNWIND']
20 if cc.has_header('execinfo.h') and cc.has_function('backtrace', prefix : '#include <execinfo.h>')
21 tracers_args += ['-DHAVE_BACKTRACE']
24 gst_tracers = library('gstcoretracers',
26 c_args : tracers_args,
27 include_directories : [configinc],
28 dependencies : [gst_dep, unwind_dep],
29 link_with : printf_lib,
31 install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')),