On Tue, May 07, 2024 at 14:59:02 +0100, Daniel P. Berrangé wrote:
The virdrivermoduletest will attempt to dlopen() each driver module,
so they must be build before the test can run.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/meson.build | 3 +++
tests/meson.build | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/meson.build b/src/meson.build
index 17e6feafba..fead0de998 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -578,6 +578,8 @@ endif
# build libvirt shared modules
+virt_module_deps = []
+
foreach module : virt_modules
mod = shared_module(
module['name'],
@@ -607,6 +609,7 @@ foreach module : virt_modules
install_rpath: libvirt_rpath,
)
set_variable('@0(a)_module'.format(module['name'].underscorify()), mod)
+ virt_module_deps += [mod]
Same spacing comment as in previous patch