[PATCH 3/3] tests: Use flat namespace for qemu test driver

Roman Bolshakov r.bolshakov at yadro.com
Sun Oct 18 15:30:58 UTC 2020


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 at yadro.com>
---
 tests/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/meson.build b/tests/meson.build
index 790033e243..a59002c083 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -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 ],
   )
-- 
2.28.0





More information about the libvir-list mailing list