projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb73fa0
)
Fix configure to save LFLAGS, and also set proper defaults for all sensible OSes
author
Matthew Wild
<mwild1@gmail.com>
Wed, 3 Dec 2008 19:55:57 +0000
(19:55 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 3 Dec 2008 19:55:57 +0000
(19:55 +0000)
configure
patch
|
blob
|
history
util-src/Makefile
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 5de9f67acaf490c30c64c34d0a4e5d6d344876e6..8eb7b36747b53d67e7352634259b3bef67f13909 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-13,7
+13,8
@@
LUA_LIBDIR="/usr/lib"
IDN_LIB=idn
OPENSSL_LIB=crypto
-CFLAGS="-shared -fPIC"
+CFLAGS="-fPIC"
+LFLAGS="-shared"
# Help
@@
-277,6
+278,7
@@
REQUIRE_CONFIG=$REQUIRE_CONFIG
IDN_LIB=$IDN_LIB
OPENSSL_LIB=$OPENSSL_LIB
CFLAGS=$CFLAGS
+LFLAGS=$LFLAGS
EOF
diff --git
a/util-src/Makefile
b/util-src/Makefile
index 5dcd65d2875d1be1d6a5161e94a16e9a3fec4b38..a325a0d64a877ac151bc0121cb721547755d6dc8 100644
(file)
--- a/
util-src/Makefile
+++ b/
util-src/Makefile
@@
-28,5
+28,5
@@
encodings.so: encodings.o
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 $(
L
FLAGS) -o hashes.so hashes.o -L/usr/local/lib -lcrypto -lssl
+ export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(
C
FLAGS) -o hashes.so hashes.o -L/usr/local/lib -lcrypto -lssl