Merge "Add a Mac OS X (Lion) lua binary. Compiled for 32 and 64bit. Used automatically on Darwin systems"

This commit is contained in:
Tim Starling 2012-06-29 07:19:39 +00:00 committed by Gerrit Code Review
commit 30dee55eeb
2 changed files with 2 additions and 0 deletions

View file

@ -77,6 +77,8 @@ class Scribunto_LuaStandaloneInterpreter extends Scribunto_LuaInterpreter {
} elseif ( PHP_INT_SIZE == 8 ) {
$path = 'lua5_1_4_Win64_bin/lua5.1.exe';
}
} elseif ( PHP_OS == 'Darwin' ) {
$path = 'lua5_1_5_mac_lion_fat_generic/lua';
}
if ( $path === false ) {
throw new Scribunto_LuaInterpreterNotFoundError(