From: Marc-André Lureau <marcandre.lur...@redhat.com> chardev subsystem/library doesn't use gnutls. Use the dedicated chardev_ss.dependencies() instead.
Looking at history, it was added in commit 3eacf70bb5a83e ("meson: Propagate gnutls dependency") because crypto/tlscreds.h included GnuTLS. This was cleaned-up later by commit 678bcc3c2cf222 ("crypto: Make QCryptoTLSCreds* structures private"). Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20220323155743.1585078-2-marcandre.lur...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 861de93c4f..6e4a3d6326 100644 --- a/meson.build +++ b/meson.build @@ -3091,7 +3091,7 @@ qmp = declare_dependency(link_whole: [libqmp]) libchardev = static_library('chardev', chardev_ss.sources() + genh, name_suffix: 'fa', - dependencies: [gnutls], + dependencies: chardev_ss.dependencies(), build_by_default: false) chardev = declare_dependency(link_whole: libchardev) -- 2.35.1