summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/120-libnetlink-pic.patch
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-14 21:32:30 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-14 21:32:30 +0000
commit9c1ef4da062c4e947bd02d6132d18974befeb6e0 (patch)
treecb3904c3eeb1bbe0f5ee3fc013e8a43040ca2ad0 /package/iproute2/patches/120-libnetlink-pic.patch
parentdb196bcbf961bcc074d5e74fd58add2d0aa06d4c (diff)
[package] iproute2: honour when building libnetlink.a, completes r18323 and fixes #6160
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18422 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iproute2/patches/120-libnetlink-pic.patch')
-rw-r--r--package/iproute2/patches/120-libnetlink-pic.patch7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/iproute2/patches/120-libnetlink-pic.patch b/package/iproute2/patches/120-libnetlink-pic.patch
new file mode 100644
index 0000000000..8c0f2bd777
--- /dev/null
+++ b/package/iproute2/patches/120-libnetlink-pic.patch
@@ -0,0 +1,7 @@
+--- a/lib/Makefile
++++ b/lib/Makefile
+@@ -1,3 +1,4 @@
++CFLAGS+=$(FPIC)
+
+ UTILOBJ=utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o
+