Skip to content

Commit eeecc2e

Browse files
committed
ebpf: really include it only in system emulators
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 <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 59e42d8 commit eeecc2e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

meson.build

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2300,8 +2300,6 @@ subdir('bsd-user')
23002300
subdir('linux-user')
23012301
subdir('ebpf')
23022302

2303-
common_ss.add(libbpf)
2304-
23052303
bsd_user_ss.add(files('gdbstub.c'))
23062304
specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)
23072305

0 commit comments

Comments
 (0)