mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
36b47ffed9
As can be seen in commit 8a62a1592a
(from
autoconf era), the coverage flags have to be used also when linking
objects. However, this was not reflected when we switched to meson.
Without this patch linking fails with undefined references to various
__gcov_* symbols.
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
21 lines
282 B
Meson
21 lines
282 B
Meson
subdir('libvirt')
|
|
|
|
shared_library(
|
|
'virt',
|
|
[
|
|
'packet-libvirt.c',
|
|
'plugin.c',
|
|
wireshark_protocol,
|
|
],
|
|
dependencies: [
|
|
wireshark_dep,
|
|
xdr_dep,
|
|
tools_dep,
|
|
],
|
|
link_args: [
|
|
coverage_flags
|
|
],
|
|
install: true,
|
|
install_dir: wireshark_plugindir,
|
|
)
|