summaryrefslogtreecommitdiffstats
path: root/samples/sockmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/sockmap/Makefile')
-rw-r--r--samples/sockmap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/sockmap/Makefile b/samples/sockmap/Makefile
index 73f1da4d116c..9bf2881bd11b 100644
--- a/samples/sockmap/Makefile
+++ b/samples/sockmap/Makefile
@@ -2,7 +2,7 @@
hostprogs-y := sockmap
# Libbpf dependencies
-LIBBPF := ../../tools/lib/bpf/bpf.o
+LIBBPF := ../../tools/lib/bpf/bpf.o ../../tools/lib/bpf/nlattr.o
HOSTCFLAGS += -I$(objtree)/usr/include
HOSTCFLAGS += -I$(srctree)/tools/lib/