Software /
code /
prosody
Diff
util-src/Makefile @ 511:f9ab28562fda
Potential fixes for building on Mac OSX
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 30 Nov 2008 19:02:00 +0000 |
parent | 491:25042b0d2626 |
child | 513:cadc9d6db7d8 |
line wrap: on
line diff
--- a/util-src/Makefile Sun Nov 30 18:59:29 2008 +0000 +++ b/util-src/Makefile Sun Nov 30 19:02:00 2008 +0000 @@ -5,7 +5,7 @@ LUA_INCDIR?=/usr/include/lua$(LUA_SUFFIX) LUA_LIB?=lua$(LUA_SUFFIX) IDN_LIB?=idn -OPENSSL_LIB?=ssl +OPENSSL_LIB?=crypto @@ -21,8 +21,8 @@ rm -f ../util/*.so encodings.so: encodings.c - gcc -shared -fPIC encodings.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(IDN_LIB) -o encodings.so + gcc $(CFLAGS) encodings.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(IDN_LIB) -o encodings.so hashes.so: hashes.c - gcc -shared -fPIC hashes.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(OPENSSL_LIB) -o hashes.so + gcc $(CFLAGS) hashes.c -I$(LUA_INCDIR) -l$(LUA_LIB) -l$(OPENSSL_LIB) -o hashes.so