diff --git a/tipc/Makefile b/tipc/Makefile index 4bda8c5d..b3ef9b9d 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)