[RFC,1/2] iproute2: Add libnl support.

Message ID 20100318181421.6862.72693.stgit@bert.katalix.com
State Rejected
Delegated to: stephen hemminger
Headers show

Commit Message

James Chapman March 18, 2010, 6:14 p.m.
This patch links the ip utility with libnl, which must be separately
installed. This lets new functionality use libnl to implement its
netlink interfaces.

Package developers will need to add libnl to the iproute2 package
dependencies.
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/Makefile b/Makefile
index 77a85c6..c47435d 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@  CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
 CFLAGS = $(CCOPTS) -I../include $(DEFINES)
 YACCFLAGS = -d -t -v
 
-LDLIBS += -L../lib -lnetlink -lutil
+LDLIBS += -L../lib -lnetlink -lutil -lnl
 
 SUBDIRS=lib ip tc misc netem genl