From: Tim Wiederhake Date: Thu, 6 May 2021 15:08:36 +0000 (+0200) Subject: tests: openvzutilstest: Remove duplicate linking with libvirt_openvz.a X-Git-Tag: v7.5.0-rc1~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcecdb7d06329565cc81d13104ca5e44b9a2434b;p=thirdparty%2Flibvirt.git 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 Reviewed-by: Michal Privoznik --- diff --git a/tests/meson.build b/tests/meson.build index 9900983d0c..3c73cbe3b5 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -430,7 +430,7 @@ endif if conf.has('WITH_OPENVZ') tests += [ - { 'name': 'openvzutilstest', 'link_with': [ openvz_lib ] }, + { 'name': 'openvzutilstest' }, ] endif