summaryrefslogtreecommitdiffstats
path: root/package/iproute2/patches/120-libnetlink-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/iproute2/patches/120-libnetlink-pic.patch')
-rw-r--r--package/iproute2/patches/120-libnetlink-pic.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/iproute2/patches/120-libnetlink-pic.patch b/package/iproute2/patches/120-libnetlink-pic.patch
index 8c0f2bd77..c7b78d063 100644
--- a/package/iproute2/patches/120-libnetlink-pic.patch
+++ b/package/iproute2/patches/120-libnetlink-pic.patch
@@ -1,6 +1,7 @@
--- a/lib/Makefile
+++ b/lib/Makefile
-@@ -1,3 +1,4 @@
+@@ -1,4 +1,4 @@
+-CFLAGS += -fPIC
+CFLAGS+=$(FPIC)
UTILOBJ=utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o