You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2018/01/26 15:00:28 UTC

svn commit: r1822305 - /httpd/httpd/trunk/modules/lua/config.m4

Author: jorton
Date: Fri Jan 26 15:00:28 2018
New Revision: 1822305

URL: http://svn.apache.org/viewvc?rev=1822305&view=rev
Log:
* modules/lua/config.m4: Link mod_lua against -lcrypt if available,
  since mk_password_hash() can use crypt().

Modified:
    httpd/httpd/trunk/modules/lua/config.m4

Modified: httpd/httpd/trunk/modules/lua/config.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/config.m4?rev=1822305&r1=1822304&r2=1822305&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/config.m4 (original)
+++ httpd/httpd/trunk/modules/lua/config.m4 Fri Jan 26 15:00:28 2018
@@ -104,7 +104,7 @@ APACHE_MODULE(lua, Apache Lua Framework,
   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
 ])