mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-30 19:14:22 +00:00
Merge "Add a Mac OS X (Lion) lua binary. Compiled for 32 and 64bit. Used automatically on Darwin systems"
This commit is contained in:
commit
30dee55eeb
|
@ -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(
|
||||
|
|
BIN
engines/LuaStandalone/binaries/lua5_1_5_mac_lion_fat_generic/lua
Executable file
BIN
engines/LuaStandalone/binaries/lua5_1_5_mac_lion_fat_generic/lua
Executable file
Binary file not shown.
Loading…
Reference in a new issue