From c1a6c770c46c6e78ad6755bf596c23a4e6f6b216 Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Wed, 26 Jun 2024 20:16:40 -0700 Subject: [PATCH] libbpf: add btf_iter.o and btf_relocate.o to Makefile Upstream libbpf got two new .c files, make sure they are built with Github Makefile as well. Signed-off-by: Andrii Nakryiko --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 53113da..547bafb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -55,7 +55,7 @@ STATIC_OBJDIR := $(OBJDIR)/staticobjs OBJS := bpf.o btf.o libbpf.o libbpf_errno.o netlink.o \ nlattr.o str_error.o libbpf_probes.o bpf_prog_linfo.o \ btf_dump.o hashmap.o ringbuf.o strset.o linker.o gen_loader.o \ - relo_core.o usdt.o zip.o elf.o features.o + relo_core.o usdt.o zip.o elf.o features.o btf_iter.o btf_relocate.o SHARED_OBJS := $(addprefix $(SHARED_OBJDIR)/,$(OBJS)) STATIC_OBJS := $(addprefix $(STATIC_OBJDIR)/,$(OBJS))