[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ebpf: really include it only in system emulators
From: |
Alex Bennée |
Subject: |
Re: [PATCH] ebpf: really include it only in system emulators |
Date: |
Fri, 15 Oct 2021 16:57:54 +0100 |
User-agent: |
mu4e 1.7.0; emacs 28.0.60 |
Paolo Bonzini <pbonzini@redhat.com> writes:
> eBPF libraries are being included in user emulators, which is useless and
> also breaks --static compilation if a shared library for libbpf is
> present in the system.
>
> Reported-by: Alex Bennée <alex.bennee@linaro.org>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> meson.build | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/meson.build b/meson.build
> index ca7b9d60af..6b7487b725 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -2595,8 +2595,6 @@ subdir('bsd-user')
> subdir('linux-user')
> subdir('ebpf')
>
> -common_ss.add(libbpf)
> -
> bsd_user_ss.add(files('gdbstub.c'))
> specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)
--
Alex Bennée