tipc: make build conditional on having libmnl

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
This commit is contained in:
Gustavo Zacarias 2015-06-27 08:15:50 -03:00 committed by Stephen Hemminger
parent f5386e1150
commit acfeb55a86

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)