From: Joe Orton Date: Fri, 9 Feb 2018 10:16:22 +0000 (+0000) Subject: Merge r1822305 from trunk: X-Git-Tag: 2.4.30~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0830931c68e1c4b46d66169b4ac4d5c1e6b0074;p=apache Merge r1822305 from trunk: * modules/lua/config.m4: Link mod_lua against -lcrypt if available, since mk_password_hash() can use crypt(). [too boring for CHANGES] Submitted by: jorton Reviewed by: jorton, jim, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823623 13f79535-47bb-0310-9956-ffa450edef68 --- 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 ])