Re: [libvirt PATCH v2] meson: Fix build with -Dtest_coverage=true

2021-01-19 Thread Pavel Hrdina
On Tue, Jan 19, 2021 at 03:31:56PM +0100, Jiri Denemark wrote: > As can be seen in commit 8a62a1592ae00eab4eb153c02661e56b9d8d9032 (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 patc

[libvirt PATCH v2] meson: Fix build with -Dtest_coverage=true

2021-01-19 Thread Jiri Denemark
As can be seen in commit 8a62a1592ae00eab4eb153c02661e56b9d8d9032 (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. S