]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: openvzutilstest: Remove duplicate linking with libvirt_openvz.a
authorTim Wiederhake <twiederh@redhat.com>
Thu, 6 May 2021 15:08:36 +0000 (17:08 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 14 Jun 2021 10:06:01 +0000 (12:06 +0200)
"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>
tests/meson.build

index 9900983d0cc075eeea7bfbdea24d1c2963616f6c..3c73cbe3b55e0e257a116da9e666815a00299a21 100644 (file)
@@ -430,7 +430,7 @@ endif
 
 if conf.has('WITH_OPENVZ')
   tests += [
-    { 'name': 'openvzutilstest', 'link_with': [ openvz_lib ] },
+    { 'name': 'openvzutilstest' },
   ]
 endif