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:
parent
90f34ef5c9
commit
6b40ba172e
|
|
@ -1,3 +1,6 @@
|
||||||
|
include ../Config
|
||||||
|
ifeq ($(HAVE_MNL),y)
|
||||||
|
|
||||||
TIPCOBJ=bearer.o \
|
TIPCOBJ=bearer.o \
|
||||||
cmdl.o link.o \
|
cmdl.o link.o \
|
||||||
media.o misc.o \
|
media.o misc.o \
|
||||||
|
|
@ -8,6 +11,8 @@ TIPCOBJ=bearer.o \
|
||||||
TARGETS=tipc
|
TARGETS=tipc
|
||||||
LDLIBS += -lmnl
|
LDLIBS += -lmnl
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
all: $(TARGETS) $(LIBS)
|
all: $(TARGETS) $(LIBS)
|
||||||
|
|
||||||
tipc: $(TIPCOBJ)
|
tipc: $(TIPCOBJ)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue