summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-02-27 13:34:30 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-03-06 12:44:46 +0100
commit41494da7df8d28eb75eac4799f4b49061fbbf64c (patch)
tree4e16469887498e6e73c7e48dd585a5d4850092b6
parente8a01102936286e012ed0f00bd7f3b7474d415c9 (diff)
downloadfocaccia-qemu-41494da7df8d28eb75eac4799f4b49061fbbf64c.tar.gz
focaccia-qemu-41494da7df8d28eb75eac4799f4b49061fbbf64c.zip
chardev: express dependency on io/
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).

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 8b9fda4d95..67ec2b7831 100644
--- a/meson.build
+++ b/meson.build
@@ -4015,7 +4015,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,