> -----Original Message-----
> From: steve donovan [mailto:[email protected]]
> Sent: dinsdag 2 april 2013 11:09
> To: [email protected]
> Subject: Re: [Luarocks-developers] MinGW and LuaSocket
>
> On Thu, Mar 28, 2013 at 10:37 PM, Thijs Schreijer
> <[email protected]> wrote:
> > I've been struggling with this, so if you have one, that would be
> > greatly appreciated (and shouldn't that become the default > rockspec
> > in the LuaRocks Repo then?)
>
> This does not _quite_ work on Windows because of a little mistake in
> luarocks\build\builtin.lua, around line 77 The line should be
>
> add_flags(extras "-l%s", libraries)
>
> since mingw works just like gcc in this respect.
> It's a nice example of per-platform overrides.
> steve d.
>
> luasocket-2.0.2-6.rockspec https://docs.google.com/file/d/0B0i-
> STL9V2I2T0pFR0I1Y0JoWXM/edit?usp=drive_web
Thanks a lot! Works (after adding a missing comma in the line)
What worries me though, is looking at the LuaRocks code and finding this line;
extras[#extras+1] = "-l" .. (variables.MSVCRT or "msvcr80")
The rockspec doesn't have a MSVCRT variable, so the "msvcr80" is supplied. Is
that ok for MinGW?
Thijs
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers