]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
lib: need to pass LIBMNL flag
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 9 Aug 2017 15:33:11 +0000 (08:33 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 9 Aug 2017 15:33:31 +0000 (08:33 -0700)
Missed on earlier conversion.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/Makefile

index 1d24ca24b9a39fcd5705273f6cf72e482a23796d..637fe487329db7b2461bc2dd76b6844081a27bc7 100644 (file)
@@ -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 \