Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 <pbonzini@redhat.com>
  • Loading branch information
bonzini committed May 17, 2023
1 parent 752cc71 commit c20ded6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions meson.build
Expand Up @@ -2720,9 +2720,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
Expand Down

0 comments on commit c20ded6

Please sign in to comment.