From cc1e033a7f18a8e42849f555c2db87c04d8d5dcb Mon Sep 17 00:00:00 2001 From: pettai Date: Thu, 12 Oct 2023 00:47:52 +0200 Subject: [PATCH] fix linker issue (#42) 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