]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tipc: make build conditional on having libmnl
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sat, 27 Jun 2015 11:15:50 +0000 (08:15 -0300)
committerStephen Hemminger <shemming@brocade.com>
Mon, 6 Jul 2015 21:55:00 +0000 (14:55 -0700)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
(cherry picked from commit acfeb55a86c4d7a92b45a7bfdd4c1724cbb8af26)

tipc/Makefile

index 4bda8c5daa4de7a894303992eb8ca281761b3ac8..b3ef9b9d4026e024792a72871eabf7c6ab09e961 100644 (file)
@@ -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)