# HG changeset patch # User Matthew Wild # Date 1227997259 0 # Node ID 25042b0d262653f6cc8abd923c46eec35c5fdd83 # Parent 9087f39b42228e3e72069a85435ed8e50bc1b1af Add -fPIC to util-src/Makefile diff -r 9087f39b4222 -r 25042b0d2626 util-src/Makefile --- a/util-src/Makefile Sat Nov 29 22:11:21 2008 +0100 +++ b/util-src/Makefile Sat Nov 29 22:20:59 2008 +0000 @@ -21,8 +21,8 @@ rm -f ../util/*.so encodings.so: encodings.c - gcc -shared encodings.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(IDN_LIB) -o encodings.so + gcc -shared -fPIC encodings.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(IDN_LIB) -o encodings.so hashes.so: hashes.c - gcc -shared hashes.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(OPENSSL_LIB) -o hashes.so + gcc -shared -fPIC hashes.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(OPENSSL_LIB) -o hashes.so