]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Use flat namespace for qemu test driver
authorRoman Bolshakov <r.bolshakov@yadro.com>
Sun, 18 Oct 2020 15:30:58 +0000 (18:30 +0300)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 23 Oct 2020 11:19:48 +0000 (13:19 +0200)
The change re-introduces f6d6086dbfec ("tests: Make references to global
symbols indirect in test drivers") that got lost during meson
conversion.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/meson.build

index 790033e243346a52c9d2bef0aff101f9c6aa0abc..a59002c083770aeeda48efb4c3673afbe7c1f5f2 100644 (file)
@@ -185,6 +185,7 @@ if conf.has('WITH_QEMU')
   test_qemu_driver_lib = shared_library(
     'test_qemu_driver',
     [ qemu_dtrace_gen_objects ],
+    link_args: [ libvirt_flat_namespace ],
     link_whole: [ qemu_driver_impl ],
     link_with: [ libvirt_lib ],
   )