diff --git a/netshaper/Makefile b/netshaper/Makefile
index 54a6a691..cec3ec91 100644
--- a/netshaper/Makefile
+++ b/netshaper/Makefile
@@ -3,7 +3,7 @@ include ../config.mk
 
 NSOBJ = netshaper.o
 TARGETS += netshaper
-LDLIBS += -lm
+LDLIBS += -lm -lmnl
 
 all: $(TARGETS) $(LIBS)
 
