From d7621a63de948622b0827225244943f3b81a7d35 Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Fri, 16 Feb 2018 15:57:41 +0100 Subject: [PATCH] Makefile: warn about missing libnl-route-3 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index c37691b..6360c8c 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,11 @@ endif all: $(BIN) $(BIN): $(LIBS) $(OBJS) +ifneq ($(NL3_EXISTS), yes) + $(warning "==========================================================") + $(warning "No support for libnl3/libnl-route-3; /sbin/ip will be used") + $(warning "==========================================================") +endif $(CXX) -o $(BIN) $(OBJS) $(LIBS) $(LDFLAGS) kafel/libkafel.a: