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

2021-01-19 Thread Jiri Denemark
On Mon, Jan 18, 2021 at 09:56:56 +0100, Pavel Hrdina wrote: > On Mon, Jan 18, 2021 at 09:23:34AM +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

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

2021-01-18 Thread Pavel Hrdina
On Mon, Jan 18, 2021 at 09:23:34AM +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. > > Signed-off-by: Ji

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

2021-01-18 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. Signed-off-by: Jiri Denemark --- src/meson.build | 1 + tests/meson.buil