[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1435403751-17245-1-git-send-email-gustavo@zacarias.com.ar>
Date: Sat, 27 Jun 2015 08:15:50 -0300
From: Gustavo Zacarias <gustavo@...arias.com.ar>
To: netdev@...r.kernel.org
Cc: Gustavo Zacarias <gustavo@...arias.com.ar>
Subject: [PATCHv2 iproute2] tipc: make build conditional on having libmnl
Signed-off-by: Gustavo Zacarias <gustavo@...arias.com.ar>
---
tipc/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tipc/Makefile b/tipc/Makefile
index 4bda8c5..b3ef9b9 100644
--- a/tipc/Makefile
+++ b/tipc/Makefile
@@ -1,3 +1,6 @@
+include ../Config
+ifeq ($(HAVE_MNL),y)
+
TIPCOBJ=bearer.o \
cmdl.o link.o \
media.o misc.o \
@@ -8,6 +11,8 @@ TIPCOBJ=bearer.o \
TARGETS=tipc
LDLIBS += -lmnl
+endif
+
all: $(TARGETS) $(LIBS)
tipc: $(TIPCOBJ)
--
2.3.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists