diff mbox series

meson: Add gnutls as a dependency to libmigration

Message ID 20210617165418.89525-1-akihiko.odaki@gmail.com (mailing list archive)
State New, archived
Headers show
Series meson: Add gnutls as a dependency to libmigration | expand

Commit Message

Akihiko Odaki June 17, 2021, 4:54 p.m. UTC
qemu-file-channel.c may depend on GnuTLS.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
---
 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index a2311eda6ec..b8812dff387 100644
--- a/meson.build
+++ b/meson.build
@@ -2090,6 +2090,7 @@  libio = static_library('io', io_ss.sources() + genh,
 io = declare_dependency(link_whole: libio, dependencies: [crypto, qom])
 
 libmigration = static_library('migration', sources: migration_files + genh,
+                              dependencies: [gnutls],
                               name_suffix: 'fa',
                               build_by_default: false)
 migration = declare_dependency(link_with: libmigration,
@@ -2160,7 +2161,7 @@  common_all = static_library('common',
                             build_by_default: false,
                             sources: common_all.sources() + genh,
                             implicit_include_directories: false,
-                            dependencies: common_all.dependencies(),
+                            dependencies: common_all.dependencies() + [gnutls],
                             name_suffix: 'fa')
 
 feature_to_c = find_program('scripts/feature_to_c.sh')