Add CLAT BPF program and build machinery (fixes)

This commit is contained in:
Beniamino Galvani 2025-09-29 23:11:19 +02:00
parent b75c247b6d
commit 3919f06e98
2 changed files with 1 additions and 2 deletions

View file

@ -119,7 +119,6 @@ bpf_gcc_flags = [
clang_arch_flag = '-D__@0@__'.format(host_machine.cpu_family())
libbpf_include_dir = dependency('libbpf').get_variable(pkgconfig : 'includedir')
libxdp_include_dir = dependency('libxdp').get_variable(pkgconfig : 'includedir')
# Generate defines that are appropriate to tell the compiler what architecture
# we're compiling for. By default we just map meson's cpu_family to __<cpu_family>__.

View file

@ -38,7 +38,7 @@ base_sources_addon = []
base_deps_addon = []
if enable_clat
base_sources_addon += [clat_skel_h]
base_deps_addon += [libbpf, libxdp]
base_deps_addon += [libbpf]
endif
libNetworkManagerBase = static_library(