diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-29 22:20:59 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-29 22:20:59 +0000 |
commit | e6c50bbe6575b68fd443131a606f07758933dbeb (patch) | |
tree | 1e634464bfb0004abba9e1dfaecb2a8075af476d | |
parent | 4bed2a5772a88b0286608d80e154e29487927523 (diff) | |
download | prosody-e6c50bbe6575b68fd443131a606f07758933dbeb.tar.gz prosody-e6c50bbe6575b68fd443131a606f07758933dbeb.zip |
Add -fPIC to util-src/Makefile
-rw-r--r-- | util-src/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-src/Makefile b/util-src/Makefile index 90e80aea..8b886a1f 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -21,8 +21,8 @@ clean: 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 |