summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2018-01-17 00:20:30 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-17 01:18:10 +0100
commit7d386c624980e476612490df52eaa86c8e066edc (patch)
treec2c1d06e94a65534b40892c3ce3ba7f473557f38 /tools/lib
parentMerge branch 'bpf-various-improvements' (diff)
downloadlinux-7d386c624980e476612490df52eaa86c8e066edc.tar.xz
linux-7d386c624980e476612490df52eaa86c8e066edc.zip
libbpf: install the header file libbpf.h
It seems like an oversight not to install the header file for libbpf, given the libbpf.so + libbpf.a files are installed. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/bpf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
index 8ed43ae9db9b..54370654c708 100644
--- a/tools/lib/bpf/Makefile
+++ b/tools/lib/bpf/Makefile
@@ -192,7 +192,8 @@ install_lib: all_cmd
install_headers:
$(call QUIET_INSTALL, headers) \
- $(call do_install,bpf.h,$(prefix)/include/bpf,644)
+ $(call do_install,bpf.h,$(prefix)/include/bpf,644); \
+ $(call do_install,libbpf.h,$(prefix)/include/bpf,644);
install: install_lib