tests: openvzutilstest: Remove duplicate linking with libvirt_openvz.a

"openvzutilstest" links, amongst others, against "libvirt_openvz.a" and
"libvirt.so". The latter also links against "libvirt_openvz.a", leading
to a One-Definition-Rule violation for "openvzLocateConfFile" in
"openvz_conf.c".

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Tim Wiederhake 2021-05-06 17:08:36 +02:00 committed by Michal Privoznik
parent 22d39e1af3
commit fcecdb7d06

View File

@ -430,7 +430,7 @@ endif
if conf.has('WITH_OPENVZ')
tests += [
{ 'name': 'openvzutilstest', 'link_with': [ openvz_lib ] },
{ 'name': 'openvzutilstest' },
]
endif