libbpf: install the header file libbpf.h
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 16 Jan 2018 23:20:30 +0000 (00:20 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 17 Jan 2018 00:18:10 +0000 (01:18 +0100)
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>
tools/lib/bpf/Makefile

index 8ed43ae..5437065 100644 (file)
@@ -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