qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] ebpf: really include it only in system emulators


From: Paolo Bonzini
Subject: [PATCH] ebpf: really include it only in system emulators
Date: Tue, 12 Oct 2021 18:22:52 +0200

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>
---
 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)
 
-- 
2.31.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]