summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/Makefile
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2018-01-17 02:20:30 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-17 03:18:10 +0300
commit7d386c624980e476612490df52eaa86c8e066edc (patch)
treec2c1d06e94a65534b40892c3ce3ba7f473557f38 /tools/lib/bpf/Makefile
parentf2f742f425563d7f6991e510875e95287aed9d9b (diff)
downloadlinux-7d386c624980e476612490df52eaa86c8e066edc.tar.xz
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/bpf/Makefile')
-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