[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/24] meson: drop unnecessary declare_dependency()
|
From: |
Paolo Bonzini |
|
Subject: |
[PATCH 06/24] meson: drop unnecessary declare_dependency() |
|
Date: |
Thu, 11 May 2023 11:50:03 +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 | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
index 342986f6f90f..56d0c5ba52f5 100644
--- a/meson.build
+++ b/meson.build
@@ -2714,9 +2714,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
--
2.40.1
- [PATCH 00/24] Meson changes for QEMU 8.1, Paolo Bonzini, 2023/05/11
- [PATCH 01/24] meson: regenerate meson-buildoptions.sh, Paolo Bonzini, 2023/05/11
- [PATCH 03/24] meson: use prefer_static option, Paolo Bonzini, 2023/05/11
- [PATCH 04/24] meson: remove static_kwargs, Paolo Bonzini, 2023/05/11
- [PATCH 05/24] meson: add more version numbers to the summary, Paolo Bonzini, 2023/05/11
- [PATCH 08/24] configure: remove pkg-config functions, Paolo Bonzini, 2023/05/11
- [PATCH 09/24] configure, meson: move --enable-modules to Meson, Paolo Bonzini, 2023/05/11
- [PATCH 06/24] meson: drop unnecessary declare_dependency(),
Paolo Bonzini <=
- [PATCH 07/24] build: move glib detection and workarounds to meson, Paolo Bonzini, 2023/05/11
- [PATCH 10/24] meson: prepare move of QEMU_CFLAGS to meson, Paolo Bonzini, 2023/05/11
- [PATCH 11/24] build: move sanitizer tests to meson, Paolo Bonzini, 2023/05/11
- [PATCH 12/24] build: move SafeStack tests to meson, Paolo Bonzini, 2023/05/11
- [PATCH 13/24] build: move coroutine backend selection to meson, Paolo Bonzini, 2023/05/11
- [PATCH 14/24] build: move stack protector flag selection to meson, Paolo Bonzini, 2023/05/11
- [PATCH 15/24] build: move warning flag selection to meson, Paolo Bonzini, 2023/05/11
- [PATCH 17/24] build: move compiler version check to meson, Paolo Bonzini, 2023/05/11
- [PATCH 02/24] meson: require 0.63.0, Paolo Bonzini, 2023/05/11
- [PATCH 16/24] build: move remaining compiler flag tests to meson, Paolo Bonzini, 2023/05/11