aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-03 19:55:57 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-03 19:55:57 +0000
commit87703412c1bdc8f88f89dd7e4c13fb7df1a83c13 (patch)
tree62b2041e36b66db3f0b1cf129476a966f18cf361 /configure
parentfd7b0786e552e1a1d8dd978d3526f9ecddfa4f6b (diff)
downloadprosody-87703412c1bdc8f88f89dd7e4c13fb7df1a83c13.tar.gz
prosody-87703412c1bdc8f88f89dd7e4c13fb7df1a83c13.zip
Fix configure to save LFLAGS, and also set proper defaults for all sensible OSes
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 5de9f67a..8eb7b367 100755
--- 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