[PATCH v2] 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/20210617171958.34606-1-akihiko.odaki@gmail.com
meson.build | 1 +
1 file changed, 1 insertion(+)
[PATCH v2] 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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meson.build b/meson.build
index a2311eda6ec..29d854699ca 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,
-- 
2.30.1 (Apple Git-130)


Re: [PATCH v2] meson: Add gnutls as a dependency to libmigration
Posted by Philippe Mathieu-Daudé 2 years, 10 months ago
On 6/17/21 7:19 PM, Akihiko Odaki wrote:
> qemu-file-channel.c may depend on GnuTLS.
> 
> Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
> ---
>  meson.build | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meson.build b/meson.build
> index a2311eda6ec..29d854699ca 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,

Please see:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg816565.html


Re: [PATCH v2] meson: Add gnutls as a dependency to libmigration
Posted by Akihiko Odaki 2 years, 10 months ago
2021年6月18日(金) 2:39 Philippe Mathieu-Daudé <philmd@redhat.com>:
>
> On 6/17/21 7:19 PM, Akihiko Odaki wrote:
> > qemu-file-channel.c may depend on GnuTLS.
> >
> > Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
> > ---
> >  meson.build | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/meson.build b/meson.build
> > index a2311eda6ec..29d854699ca 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,
>
> Please see:
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg816565.html
>

Thanks for letting me know about the patch series. It should indeed
make this patch unnecessary.