]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virt-aa-helper: Remove duplicate linking with src/datatypes.o
authorTim Wiederhake <twiederh@redhat.com>
Thu, 6 May 2021 15:08:37 +0000 (17:08 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 14 Jun 2021 10:06:06 +0000 (12:06 +0200)
"virt-aa-helper" links, amongst others, against "datatypes.o" and
"libvirt.so". The latter links against "libvirt_driver.a" which in turn
also links against "datatypes.o", leading to a One-Definition-Rule
violoation for "virConnectClass" et al. in "datatypes.c".

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/security/meson.build

index 416fec790060573be8da17d3e56885c21c1c5a1f..6f5e1dec1de79fef4325043448414f90d9492576 100644 (file)
@@ -41,7 +41,6 @@ if conf.has('WITH_LIBVIRTD') and conf.has('WITH_APPARMOR')
     'name': 'virt-aa-helper',
     'sources': [
       apparmor_helper_sources,
-      datatypes_sources,
       dtrace_gen_objects,
     ],
     'include': [