summaryrefslogtreecommitdiff
path: root/util/cairo-trace
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2020-08-31 23:14:19 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2020-08-31 23:20:49 +0800
commitb87e53dc1cc4dd33fa391f3ee8db02394b44a742 (patch)
tree2b6f62bb2e8051acf8504235872f8d6695ee6292 /util/cairo-trace
parent2f39018c2c6661de11d5e7c3f385e7f0b338f5b1 (diff)
downloadcairo-b87e53dc1cc4dd33fa391f3ee8db02394b44a742.tar.gz
meson: Fix undefined reference when bfd library is installed
Add the missing file which is necessary when symbol lookup is enabled.
Diffstat (limited to 'util/cairo-trace')
-rw-r--r--util/cairo-trace/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/cairo-trace/meson.build b/util/cairo-trace/meson.build
index 20f2b87d6..e836f98cf 100644
--- a/util/cairo-trace/meson.build
+++ b/util/cairo-trace/meson.build
@@ -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,