summaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/120-libnetlink-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/iproute2/patches/120-libnetlink-pic.patch')
-rw-r--r--package/network/utils/iproute2/patches/120-libnetlink-pic.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/patches/120-libnetlink-pic.patch b/package/network/utils/iproute2/patches/120-libnetlink-pic.patch
new file mode 100644
index 000000000..3ea7d193b
--- /dev/null
+++ b/package/network/utils/iproute2/patches/120-libnetlink-pic.patch
@@ -0,0 +1,10 @@
+--- a/lib/Makefile
++++ b/lib/Makefile
+@@ -1,6 +1,6 @@
+ include ../Config
+
+-CFLAGS += -fPIC
++CFLAGS += $(FPIC)
+
+ UTILOBJ=utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o
+