Skip to contentSkip to conversation

meson: drop unnecessary declare_dependency()

PATCH New Paolo Bonzini 1 participant 1 message Mar 30, 2023 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meson: drop unnecessary declare_dependency()

The libvfio_user_dep variable of subprojects/libvfio-user/lib/meson.build is already a dependency, so there is no need to wrap it with another declare_dependency().

---
 meson.build | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meson.build +1 -3
index 3467159381b7..b8e3238df084 100644
@@ -3011,9 +3011,7 @@ if have_system and vfio_user_server_allowed
 
   libvfio_user_proj = subproject('libvfio-user')
 
-  libvfio_user_lib = libvfio_user_proj.get_variable('libvfio_user_dep')
-
-  libvfio_user_dep = declare_dependency(dependencies: [libvfio_user_lib])
+  libvfio_user_dep = libvfio_user_proj.get_variable('libvfio_user_dep')
 endif
 
 fdt = not_found
Signature · 1 line
2.39.2