On 17 June 2013 09:18, Alexey Melnichuk <[email protected]> wrote:
> Whether is an error that if I build module with MinGW luarocks defines the
> platform as unix instead of windows?
Does it? "cygwin" should define "unix", but "mingw32" should define "windows"...
...
elseif system and system:match("^CYGWIN") then
detected.unix = true
detected.cygwin = true
elseif system and system:match("^Windows") then
detected.windows = true
elseif system and system:match("^MINGW") then
detected.windows = true
detected.mingw32 = true
else
detected.unix = true
-- Fall back to Unix in unknown systems.
end
Perhaps `uname -m` is returning an unknown result?
-- Hisham
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers