Makefile: warn about missing libnl-route-3
authorRobert Swiecki <robert@swiecki.net>
Fri, 16 Feb 2018 14:57:41 +0000 (15:57 +0100)
committerRobert Swiecki <robert@swiecki.net>
Fri, 16 Feb 2018 14:57:41 +0000 (15:57 +0100)
Makefile

index c37691b..6360c8c 100644 (file)
--- 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: