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

Link static library

parent dbc914e6
...@@ -28,11 +28,8 @@ CFLAGS += -std=gnu99 ...@@ -28,11 +28,8 @@ CFLAGS += -std=gnu99
LDFLAGS = -pthread LDFLAGS = -pthread
ifneq ($(WITH_XDP),) 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 CFLAGS += -D WITH_XDP -I$${HOME}/libbpf/include
LDFLAGS += -L$${HOME}/libbpf/src -lbpf LDFLAGS += -L$${HOME}/libbpf/src -l:libbpf.a
endif endif
vpath %.c $(SRCDIR) 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