* [PATCH v2] meson.build: don't include libbpf in the common source set
@ 2021-10-12 16:25 Alex Bennée
0 siblings, 0 replies; only message in thread
From: Alex Bennée @ 2021-10-12 16:25 UTC (permalink / raw)
To: qemu-devel; +Cc: pbonzini, Alex Bennée
This library is only needed for the softmmu targets and as such
break static *-user builds where libbpf is detected and it tries to
link it into the user binaries. In fact ebpf/meson.build already
brings libbpf into the softmmu build so we can delete the common_ss
line altogether.
Fixes: 46627f41b6 ("ebpf: Added eBPF RSS loader.")
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211005182443.2954499-1-alex.bennee@linaro.org>
--
v2
- delete common_ss altogether instead of replacing with softmmu_ss
---
meson.build | 2 --
1 file changed, 2 deletions(-)
diff --git a/meson.build b/meson.build
index 99a0a3e689..42b7ba360d 100644
--- a/meson.build
+++ b/meson.build
@@ -2301,8 +2301,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.30.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-12 16:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-12 16:25 [PATCH v2] meson.build: don't include libbpf in the common source set Alex Bennée
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).