meson: Fix undefined reference when bfd library is installed

Add the missing file which is necessary when symbol lookup is enabled.
This commit is contained in:
Ting-Wei Lan 2020-08-31 23:14:19 +08:00
parent 2f39018c2c
commit b87e53dc1c

View file

@ -2,6 +2,10 @@ cairo_trace_sources = [
'trace.c',
]
if conf.get('CAIRO_HAS_SYMBOL_LOOKUP', 0) == 1
cairo_trace_sources += ['lookup-symbol.c']
endif
shared_lib_ext = libcairo.full_path().split('.')[-1]
libcairotrace = library('cairo-trace', cairo_trace_sources,