ebpf: really include it only in system emulators
PATCH 1/1 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]>
--- meson.build | 2 -- 1 file changed, 2 deletions(-)
meson.build +0 -2
@@ -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)
Signature · 1 line
2.31.1
Quoted 9 lines · Paolo Bonzini
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]>--- meson.build | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by Richard Henderson <[email protected]>
r~
Quoted 6 lines · Paolo Bonzini
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]>
Reviewed-by Alex Bennée <[email protected]>
Tested-by Alex Bennée <[email protected]>
Quoted 16 lines
--- meson.build | 2 -- 1 file changed, 2 deletions(-)meson.build +0
-2@@ -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)
Signature · 1 line
Alex Bennée