crda: report if no supported version of libnl is found
PATCH 1/1 crda: 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
@@ -52,6 +52,10 @@ NLLIBS += -lnl-genl NLLIBNAME = libnl-2.0 endif +ifeq ($(NLLIBNAME),) +$(error Cannot find development files for any supported version of libnl) +endif + NLLIBS += `pkg-config --libs $(NLLIBNAME)` CFLAGS += `pkg-config --cflags $(NLLIBNAME)`
Quoted 1 line · Pavel Roskin
Otherwise, the error messase would be very confusing.
Heh yeah good catch. Applied, thanks.
Luis