git » libjio » commit 11b54eb

Add -fPIC to libjio.so compile.

author Alberto Bertogli
2005-03-09 18:58:21 UTC
committer Alberto Bertogli
2007-07-15 13:47:25 UTC
parent b71e5342136f82e1c58f40ade9f34b38948cc040

Add -fPIC to libjio.so compile.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

Makefile +1 -1

diff --git a/Makefile b/Makefile
index 014b9e1..a9cb156 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ default: all
 all: libjio.so libjio.a jiofsck
 
 libjio.so: $(OBJS)
-	$(CC) -shared $(OBJS) -o libjio.so
+	$(CC) -shared -fPIC $(OBJS) -o libjio.so
 
 libjio.a: $(OBJS)
 	$(AR) cr libjio.a $(OBJS)