mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
Add -fPIC to util-src/Makefile
This commit is contained in:
parent
4bed2a5772
commit
e6c50bbe65
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue