Software /
code /
prosody
Changeset
536:dfe06eab47c0
Fix configure to save LFLAGS, and also set proper defaults for all sensible OSes
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 03 Dec 2008 19:55:57 +0000 |
parents | 535:74f32ac6db40 |
children | 537:c157c1412bda |
files | configure util-src/Makefile |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Wed Dec 03 19:34:41 2008 +0000 +++ b/configure Wed Dec 03 19:55:57 2008 +0000 @@ -13,7 +13,8 @@ IDN_LIB=idn OPENSSL_LIB=crypto -CFLAGS="-shared -fPIC" +CFLAGS="-fPIC" +LFLAGS="-shared" # Help @@ -277,6 +278,7 @@ IDN_LIB=$IDN_LIB OPENSSL_LIB=$OPENSSL_LIB CFLAGS=$CFLAGS +LFLAGS=$LFLAGS EOF
--- a/util-src/Makefile Wed Dec 03 19:34:41 2008 +0000 +++ b/util-src/Makefile Wed Dec 03 19:55:57 2008 +0000 @@ -28,5 +28,5 @@ hashes.o: hashes.c gcc $(CFLAGS) -I$(LUA_INCDIR) -c -o hashes.o hashes.c hashes.so: hashes.o - export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(LFLAGS) -o hashes.so hashes.o -L/usr/local/lib -lcrypto -lssl + export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(CFLAGS) -o hashes.so hashes.o -L/usr/local/lib -lcrypto -lssl