iproute2: honour when building libnetlink.a, completes r18323 and fixes #6160
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 14 Nov 2009 21:32:30 +0000 (21:32 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 14 Nov 2009 21:32:30 +0000 (21:32 +0000)
SVN-Revision: 18422

package/iproute2/patches/120-libnetlink-pic.patch [new file with mode: 0644]

diff --git a/package/iproute2/patches/120-libnetlink-pic.patch b/package/iproute2/patches/120-libnetlink-pic.patch
new file mode 100644 (file)
index 0000000..8c0f2bd
--- /dev/null
@@ -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