bpf: fix headers install with meson
authorJunxiao Shi <git@mail1.yoursunny.com>
Mon, 27 Jan 2020 21:38:00 +0000 (14:38 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 6 Feb 2020 08:20:07 +0000 (09:20 +0100)
Previously, when librte_bpf is built with meson+ninja, its
headers such as bpf_def is not installed to the system.
This commit fixes this problem.

Fixes: 94972f35a02e ("bpf: add BPF loading and execution framework")
Cc: stable@dpdk.org
Signed-off-by: Junxiao Shi <git@mail1.yoursunny.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_bpf/meson.build

index 13fc02d..52cfaf9 100644 (file)
@@ -14,7 +14,7 @@ elif dpdk_conf.has('RTE_ARCH_ARM64')
        sources += files('bpf_jit_arm64.c')
 endif
 
-install_headers = files('bpf_def.h',
+install_headers('bpf_def.h',
                        'rte_bpf.h',
                        'rte_bpf_ethdev.h')