iproute2: update to v4.14.1
[openwrt/staging/lynxis.git] / package / network / utils / iproute2 / patches / 120-libnetlink-pic.patch
index ebe122e005cb131bfb3b4dd71ba588a5d8cf8287..83ce66d9761b1c19eb2371e4e47688115f8e041d 100644 (file)
@@ -1,11 +1,10 @@
 --- a/lib/Makefile
 +++ b/lib/Makefile
-@@ -12,7 +12,7 @@ ifeq ($(HAVE_MNL),y)
-       CFLAGS += -DHAVE_LIBMNL $(shell $(PKG_CONFIG) libmnl --cflags)
- endif
+@@ -1,6 +1,6 @@
+ include ../config.mk
  
 -CFLAGS += -fPIC
 +CFLAGS += $(FPIC)
  
  UTILOBJ = utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o \
-       inet_proto.o namespace.o json_writer.o \
+       inet_proto.o namespace.o json_writer.o json_print.o \