From 6837f771edf49d5b19c12a2d2760234e86241c48 Mon Sep 17 00:00:00 2001 From: Andreas Henriksson Date: Mon, 23 Nov 2009 11:03:52 +0100 Subject: [PATCH] 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 --- lib/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Makefile b/lib/Makefile index bc270bff..da2f0fcb 100644 --- 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