aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-29 22:20:59 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-29 22:20:59 +0000
commite6c50bbe6575b68fd443131a606f07758933dbeb (patch)
tree1e634464bfb0004abba9e1dfaecb2a8075af476d /util-src
parent4bed2a5772a88b0286608d80e154e29487927523 (diff)
downloadprosody-e6c50bbe6575b68fd443131a606f07758933dbeb.tar.gz
prosody-e6c50bbe6575b68fd443131a606f07758933dbeb.zip
Add -fPIC to util-src/Makefile
Diffstat (limited to 'util-src')
-rw-r--r--util-src/Makefile4
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