fix linker issue (#42)

fix linker issue
"undefined reference to `zip_archive_open'" ...
This commit is contained in:
pettai
2023-10-12 00:47:52 +02:00
committed by GitHub
parent c089d82aed
commit cc1e033a7f

View File

@@ -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