From: Gustavo Zacarias Date: Sat, 27 Jun 2015 11:15:50 +0000 (-0300) Subject: tipc: make build conditional on having libmnl X-Git-Tag: v4.1.1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b40ba172ef09a3405281c66163d0d820d3b5b8d;p=thirdparty%2Fiproute2.git tipc: make build conditional on having libmnl Signed-off-by: Gustavo Zacarias (cherry picked from commit acfeb55a86c4d7a92b45a7bfdd4c1724cbb8af26) --- diff --git a/tipc/Makefile b/tipc/Makefile index 4bda8c5da..b3ef9b9d4 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)