diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-30 19:02:00 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-30 19:02:00 +0000 |
commit | da2f3ee85ac19a44a1781a7a6a591e75f03c5684 (patch) | |
tree | 41b1c2d5ca64db20a776e4e706057afa3225c7b9 /util-src | |
parent | 3d39b70324e1ea7273b724a976eb847ac767e232 (diff) | |
download | prosody-da2f3ee85ac19a44a1781a7a6a591e75f03c5684.tar.gz prosody-da2f3ee85ac19a44a1781a7a6a591e75f03c5684.zip |
Potential fixes for building on Mac OSX
Diffstat (limited to 'util-src')
-rw-r--r-- | util-src/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util-src/Makefile b/util-src/Makefile index 8b886a1f..04f9d7cb 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -5,7 +5,7 @@ LUA_SUFFIX?=5.1 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 @@ clean: 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 |