tests: Use flat namespace for qemu test driver

The change re-introduces f6d6086dbf ("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>
This commit is contained in:
Roman Bolshakov 2020-10-18 18:30:58 +03:00 committed by Michal Privoznik
parent ad0b56b64c
commit c8c6991169

View File

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