From: Paolo Bonzini Date: Thu, 30 Mar 2023 10:47:23 +0000 (+0200) Subject: meson: drop unnecessary declare_dependency() X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5328353c05d880fbdba16a968cf9a39c8bd11a14;p=qmiga%2Fqemu.git 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(). Signed-off-by: Paolo Bonzini --- diff --git a/meson.build b/meson.build index 3262d4daa3..5678551cd0 100644 --- a/meson.build +++ b/meson.build @@ -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