From 522107904c9a2e615001e1c1999921f086c4d8b5 Mon Sep 17 00:00:00 2001 From: pettai Date: Wed, 11 Oct 2023 22:45:30 +0200 Subject: [PATCH] fix linker issue fix linker issue "undefined reference to `zip_archive_open'" ... --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8d2586b..5172416 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ XDPPROGOBJ = xdpfw_kern.o OBJS = $(BUILDDIR)/$(CONFIGOBJ) $(BUILDDIR)/$(CMDLINEOBJ) # LD flags and includes. -LDFLAGS += -lconfig -lelf -lz +LDFLAGS += -lconfig -lelf -lz -lxdp INCS = -I $(LIBBPFSRC) INCS += -I /usr/include -I /usr/local/include