Files
MINGW-packages/mingw-w64-lua-luacom-git/001-Fix-Lua51-prefix.patch
Ricky Wu b945d8c7e2 luacom for lua5.1 (#1804)
* luacom for lua5.1

* add pkgbase for luacom
2016-10-11 12:03:50 +03:00

14 lines
682 B
Diff

Binary files luacom-org/.git/index and luacom/.git/index differ
diff -rup luacom-org/cmake/lua.cmake luacom/cmake/lua.cmake
--- luacom-org/cmake/lua.cmake 2016-01-07 13:09:07.004304800 +0800
+++ luacom/cmake/lua.cmake 2016-01-07 12:30:43.228024000 +0800
@@ -251,7 +251,7 @@ endmacro ()
# [1] http://lua-users.org/wiki/BinToCee
# [2] http://lua-users.org/wiki/LuaCompilerInLua
function ( add_lua_bin2c _target _source )
- find_program ( LUA NAMES lua lua.bat )
+ find_program ( LUA NAMES lua lua.bat lua5.1)
execute_process ( COMMAND ${LUA} -e "string.dump(function()end)"
RESULT_VARIABLE _LUA_DUMP_RESULT ERROR_QUIET )
if ( NOT ${_LUA_DUMP_RESULT} )