tipc: make build conditional on having libmnl

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
(cherry picked from commit acfeb55a86)
This commit is contained in:
Gustavo Zacarias 2015-06-27 08:15:50 -03:00 committed by Stephen Hemminger
parent 90f34ef5c9
commit 6b40ba172e
1 changed files with 5 additions and 0 deletions

View 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)