iproute2: use -fPIC in lib/

The static libnetlink.a library is exposed to other users in Debian via the
"iproute-dev" package. Apparently people are interested in using it in their
shared libraries and would like to see the code be position independent.

Patch below makes the code under lib/ build with -fPIC.

See http://bugs.debian.org/547602

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
This commit is contained in:
Andreas Henriksson 2009-11-23 11:03:52 +01:00 committed by Stephen Hemminger
parent 080b3ad428
commit 6837f771ed
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
CFLAGS += -fPIC
UTILOBJ=utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o