diff mbox series

chardev: express dependency on io/

Message ID 20250227125003.770661-1-pbonzini@redhat.com (mailing list archive)
State New
Headers show
Series chardev: express dependency on io/ | expand

Commit Message

Paolo Bonzini Feb. 27, 2025, 12:50 p.m. UTC
chardev is using qio functions, so express that in the Meson internal
dependency.  (I found this when adding character devices bindings for
Rust; they initially needed the io dependency added by hand).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Daniel P. Berrangé Feb. 27, 2025, 1:11 p.m. UTC | #1
On Thu, Feb 27, 2025 at 01:50:03PM +0100, Paolo Bonzini wrote:
> chardev is using qio functions, so express that in the Meson internal
> dependency.  (I found this when adding character devices bindings for
> Rust; they initially needed the io dependency added by hand).
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index 0a2c61d2bfa..9b1c0ba6346 100644
--- a/meson.build
+++ b/meson.build
@@ -4013,7 +4013,7 @@  libchardev = static_library('chardev', chardev_ss.sources() + genh,
                             build_by_default: false)
 
 chardev = declare_dependency(objects: libchardev.extract_all_objects(recursive: false),
-                             dependencies: chardev_ss.dependencies())
+                             dependencies: [chardev_ss.dependencies(), io])
 
 hwcore_ss = hwcore_ss.apply({})
 libhwcore = static_library('hwcore', sources: hwcore_ss.sources() + genh,