summaryrefslogtreecommitdiffstats
path: root/modules/lua
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2018-01-26 16:00:28 +0100
committerJoe Orton <jorton@apache.org>2018-01-26 16:00:28 +0100
commitecce8ad8cb3c5884b0ddbdcb4cfb8268bb2326ac (patch)
treea9c70729e6368b9ada3887fa6b26a8707912e5eb /modules/lua
parentFirst set of fixes for mod_ssl Spanish Translation plus rendering with new Di... (diff)
downloadapache2-ecce8ad8cb3c5884b0ddbdcb4cfb8268bb2326ac.tar.xz
apache2-ecce8ad8cb3c5884b0ddbdcb4cfb8268bb2326ac.zip
* modules/lua/config.m4: Link mod_lua against -lcrypt if available,
since mk_password_hash() can use crypt(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822305 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/lua')
-rw-r--r--modules/lua/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lua/config.m4 b/modules/lua/config.m4
index 73d4f8aabe..a0c170b344 100644
--- a/modules/lua/config.m4
+++ b/modules/lua/config.m4
@@ -104,7 +104,7 @@ APACHE_MODULE(lua, Apache Lua Framework, $lua_objects, , , [
CHECK_LUA()
if test "x$enable_lua" != "xno" ; then
APR_ADDTO(MOD_INCLUDES, [$LUA_CFLAGS])
- APR_ADDTO(MOD_LUA_LDADD, [$LUA_LIBS])
+ APR_ADDTO(MOD_LUA_LDADD, [$LUA_LIBS $CRYPT_LIBS])
fi
])