]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
chardev: express dependency on io/
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Feb 2025 12:34:30 +0000 (13:34 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 6 Mar 2025 11:44:46 +0000 (12:44 +0100)
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>
meson.build

index 8b9fda4d95e634e6faa8db5604e5e0ddc4b1eb9e..67ec2b78319bd3328d39a4a62e0396f760ba0b86 100644 (file)
@@ -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,