On Fri, May 20, 2011 at 8:21 PM, Oisín <[email protected]> wrote:
> the most part, I hacked around it, copying lua51.dll to lua5.1.lib and a
> couple of other things I've forgotten about. If it could work more
> out-of-box for mingw, that'd be nice - as long as it doesn't cause problems
> for those using the MS toolset.

That's exactly it - they are separate cases and changes to the mingw
case should not affect the MS case.   mingw needs to be a distinct
platform, like cygwin, which I found out by grabbing luafilesystem and
getting the win32-x86 binary - which then crashed because it is linked
against the MS runtime.  So I'm proposing that the 'arch' variable for
mingw becomes 'mingw' not 'win32' and then LR will not try to load
incompatible binaries.

Might be an idea to prepare a mingw binary version, like the current
win32 binary - Fabio is probably hanging his head and muttering at
this moment so I'll quickly say that I am happy to look after this
packaging ;)

steve d.

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to