Software /
code /
prosody
Comparison
util-src/Makefile @ 491:25042b0d2626
Add -fPIC to util-src/Makefile
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 29 Nov 2008 22:20:59 +0000 |
parent | 475:fe861de7a4fc |
child | 511:f9ab28562fda |
comparison
equal
deleted
inserted
replaced
490:9087f39b4222 | 491:25042b0d2626 |
---|---|
19 clean: | 19 clean: |
20 rm -f *.so | 20 rm -f *.so |
21 rm -f ../util/*.so | 21 rm -f ../util/*.so |
22 | 22 |
23 encodings.so: encodings.c | 23 encodings.so: encodings.c |
24 gcc -shared encodings.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(IDN_LIB) -o encodings.so | 24 gcc -shared -fPIC encodings.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(IDN_LIB) -o encodings.so |
25 | 25 |
26 hashes.so: hashes.c | 26 hashes.so: hashes.c |
27 gcc -shared hashes.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(OPENSSL_LIB) -o hashes.so | 27 gcc -shared -fPIC hashes.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(OPENSSL_LIB) -o hashes.so |
28 | 28 |