From: Stephen Hemminger Date: Wed, 9 Aug 2017 15:33:11 +0000 (-0700) Subject: lib: need to pass LIBMNL flag X-Git-Tag: v4.13.0~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=089f85694afe59d90862a3cec01c060fd050815a;p=thirdparty%2Fiproute2.git lib: need to pass LIBMNL flag Missed on earlier conversion. Signed-off-by: Stephen Hemminger --- diff --git a/lib/Makefile b/lib/Makefile index 1d24ca24b..637fe4873 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -4,6 +4,10 @@ ifeq ($(IP_CONFIG_SETNS),y) CFLAGS += -DHAVE_SETNS endif +ifeq ($(HAVE_MNL),y) + CFLAGS += -DHAVE_LIBMNL $(shell $(PKG_CONFIG) libmnl --cflags) +endif + CFLAGS += -fPIC UTILOBJ = utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o \