iproute2: bump to 4.13
[openwrt/openwrt.git] / package / network / utils / iproute2 / patches / 120-libnetlink-pic.patch
index 1f397f71b2d85a044207a17925cde07f3c02961c..ebe122e005cb131bfb3b4dd71ba588a5d8cf8287 100644 (file)
@@ -1,7 +1,7 @@
 --- a/lib/Makefile
 +++ b/lib/Makefile
 --- a/lib/Makefile
 +++ b/lib/Makefile
-@@ -4,7 +4,7 @@ ifeq ($(IP_CONFIG_SETNS),y)
-       CFLAGS += -DHAVE_SETNS
+@@ -12,7 +12,7 @@ ifeq ($(HAVE_MNL),y)
+       CFLAGS += -DHAVE_LIBMNL $(shell $(PKG_CONFIG) libmnl --cflags)
  endif
  
 -CFLAGS += -fPIC
  endif
  
 -CFLAGS += -fPIC