r109871 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109870‎ | r109871 | r109872 >
Date:23:30, 23 January 2012
Author:vasilievvv
Status:deferred
Tags:
Comment:
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) (history)

Diff [purge]

Index: trunk/php/luasandbox/config.m4
@@ -24,6 +24,8 @@
2525 dnl Output results for debugging purposes:
2626 AC_MSG_NOTICE(LUA: found LUA_CFLAGS: $LUA_CFLAGS)
2727 AC_MSG_NOTICE(LUA: found LUA_LIBS: $LUA_LIBS)
 28+
 29+ PHP_EVAL_LIBLINE("-lrt", LUASANDBOX_SHARED_LIBADD)
2830
2931 PHP_SUBST(LUASANDBOX_SHARED_LIBADD)
3032 PHP_NEW_EXTENSION(luasandbox, luasandbox.c timer.c, $ext_shared)

Status & tagging log