Hello,I have just found the solution to modify all those libraries which require lua5.1.dll unstead of lua51.dll. For example, it works with luasocket but not with wxlua. Be careful, dirty hacking.
local file = io.open('something.dll', 'rb') local data = file:read('*a') file:close() file = io.open('someting2.dll', 'wb') file:write(data:gsub('lua5.1.dll', 'lua51.dll\0')) file:close()Windows don't see any problem with that modification if the DLL isn't signed (of course it invalidates the signature if any). A chance that "lua51.dll" is shorter than "lua5.1.dll" !
Ah, a question, in fact: why having chosen lua51.dll and not lua5.1.dll when building luajit by default ? Luajit is the only one to have chosen lua51.dll, or even in the lua 5.1.5 community the name of the DLL was not completely clear at the time luajit was created ?