]> git.proxmox.com Git - mirror_qemu.git/commitdiff
meson: drop unnecessary declare_dependency()
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 30 Mar 2023 10:47:23 +0000 (12:47 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 May 2023 06:53:52 +0000 (08:53 +0200)
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().

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build

index 3262d4daa3240cd9df6e680aac21fe872fca220b..5678551cd0251dde1d2f9534c0d4aaf90829819b 100644 (file)
@@ -2741,9 +2741,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