projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2f742f
)
libbpf: install the header file libbpf.h
author
Jesper Dangaard Brouer
<brouer@redhat.com>
Tue, 16 Jan 2018 23:20:30 +0000
(
00:20
+0100)
committer
Daniel 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
patch
|
blob
|
history
diff --git
a/tools/lib/bpf/Makefile
b/tools/lib/bpf/Makefile
index 8ed43ae9db9b1873554f128c4b71e100dba3b637..54370654c708a0774ccd1079d9a6786cbc891bab 100644
(file)
--- 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