iw: report if no supported version of libnl is found
PATCH 1/1 iw: report if no supported version of libnl is found
Otherwise, the error messase would be very confusing.
--- Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
Makefile +4 -0
@@ -29,6 +29,10 @@ LIBS += -lnl-genl NLLIBNAME = libnl-2.0 endif +ifeq ($(NLLIBNAME),) +$(error Cannot find development files for any supported version of libnl) +endif + LIBS += $(shell pkg-config --libs $(NLLIBNAME)) CFLAGS += $(shell pkg-config --cflags $(NLLIBNAME))