https://www.mediawiki.org/wiki/Special:Code/MediaWiki/109871
Revision: 109871
Author: vasilievvv
Date: 2012-01-23 23:30:33 +0000 (Mon, 23 Jan 2012)
Log Message:
-----------
Link luasandbox to librt.
That should fix Apache crash complaining about unknown function timer_create
if CPU limit is enabled.
Modified Paths:
--------------
trunk/php/luasandbox/config.m4
Modified: trunk/php/luasandbox/config.m4
===================================================================
--- trunk/php/luasandbox/config.m4 2012-01-23 23:19:20 UTC (rev 109870)
+++ trunk/php/luasandbox/config.m4 2012-01-23 23:30:33 UTC (rev 109871)
@@ -24,6 +24,8 @@
dnl Output results for debugging purposes:
AC_MSG_NOTICE(LUA: found LUA_CFLAGS: $LUA_CFLAGS)
AC_MSG_NOTICE(LUA: found LUA_LIBS: $LUA_LIBS)
+
+ PHP_EVAL_LIBLINE("-lrt", LUASANDBOX_SHARED_LIBADD)
PHP_SUBST(LUASANDBOX_SHARED_LIBADD)
PHP_NEW_EXTENSION(luasandbox, luasandbox.c timer.c, $ext_shared)
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs