Sat, 29 Nov 2008 22:20:59 +0000
Add -fPIC to util-src/Makefile
util-src/Makefile | file | annotate | diff | comparison | revisions |
--- 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