mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-07 09:09:06 +08:00
build: add hashmap and btf_dump to OBJS list
Fix Makefile to include expected object files. Fixes https://github.com/libbpf/libbpf/issues/52. Reported-by: Robert McCabe <robert.mccabe@rockwellcollins.com> Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
@@ -34,7 +34,8 @@ endif
|
|||||||
OBJDIR ?= .
|
OBJDIR ?= .
|
||||||
|
|
||||||
OBJS := $(addprefix $(OBJDIR)/,bpf.o btf.o libbpf.o libbpf_errno.o netlink.o \
|
OBJS := $(addprefix $(OBJDIR)/,bpf.o btf.o libbpf.o libbpf_errno.o netlink.o \
|
||||||
nlattr.o str_error.o libbpf_probes.o bpf_prog_linfo.o xsk.o)
|
nlattr.o str_error.o libbpf_probes.o bpf_prog_linfo.o xsk.o \
|
||||||
|
btf_dump.o hashmap.o)
|
||||||
|
|
||||||
LIBS := $(OBJDIR)/libbpf.a
|
LIBS := $(OBJDIR)/libbpf.a
|
||||||
ifndef BUILD_STATIC_ONLY
|
ifndef BUILD_STATIC_ONLY
|
||||||
|
|||||||
Reference in New Issue
Block a user