Commit b88b9ff5 authored by Joanne Hugé's avatar Joanne Hugé

Link static library

parent dbc914e6
......@@ -28,11 +28,8 @@ CFLAGS += -std=gnu99
LDFLAGS = -pthread
ifneq ($(WITH_XDP),)
CFLAGS += -D WITH_XDP
LDFLAGS += -L/usr/lib -lbpf
else ifneq ($(WITH_GIT_XDP),)
CFLAGS += -D WITH_XDP -I$${HOME}/libbpf/include
LDFLAGS += -L$${HOME}/libbpf/src -lbpf
LDFLAGS += -L$${HOME}/libbpf/src -l:libbpf.a
endif
vpath %.c $(SRCDIR)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment