Skip to content

Commit 7d386c6

Browse files
netoptimizerborkmann
authored andcommitted
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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
1 parent f2f742f commit 7d386c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/lib/bpf/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ install_lib: all_cmd
192192

193193
install_headers:
194194
$(call QUIET_INSTALL, headers) \
195-
$(call do_install,bpf.h,$(prefix)/include/bpf,644)
195+
$(call do_install,bpf.h,$(prefix)/include/bpf,644); \
196+
$(call do_install,libbpf.h,$(prefix)/include/bpf,644);
196197

197198
install: install_lib
198199

0 commit comments

Comments
 (0)