[PATCH] meson: Add gnutls as a dependency to libmigration

Akihiko Odaki posted 1 patch 2 years, 10 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210617165418.89525-1-akihiko.odaki@gmail.com
There is a newer version of this series
meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] meson: Add gnutls as a dependency to libmigration
Posted by Akihiko Odaki 2 years, 10 months ago
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 --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')
-- 
2.30.1 (Apple Git-130)