]> granicus.if.org Git - apache/commitdiff
Merge r1822305 from trunk:
authorJoe Orton <jorton@apache.org>
Fri, 9 Feb 2018 10:16:22 +0000 (10:16 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 9 Feb 2018 10:16:22 +0000 (10:16 +0000)
* 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

modules/lua/config.m4

index 73d4f8aabe08c3e363fcf46b85e7d1ef02e61e9a..a0c170b344f79997e3eb1896ca1a726fbf5603d2 100644 (file)
@@ -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
 ])