On 18 June 2013 02:47, Alexey Melnichuk <mi...@newmail.ru> wrote:
> Hisham <h <at> hisham.hm> writes:
>
>>
>> Does it? "cygwin" should define "unix", but "mingw32" should define
> "windows"...
>>
> I mistake. It is didn't select platform at all.
> https://github.com/moteus/lua-odbc/blob/master/rockspec/odbc-0.1.0-2.rockspec
> Luarocks didn't use neither unix nor windows platform.
> So i have to create new rockspec
> https://github.com/moteus/lua-odbc/blob/master/rockspec/odbc-0.1.0-3.rockspec

This shouldn't be necessary! Revision 0.1.0-2 should have worked. As I
said, "mingw32" should auto-detect "windows" as a platform as well!
(ie, if mingw32 is set, then windows should be auto-set too).

Are you resetting the "platforms" array in your config file?

>> Perhaps `uname -m` is returning an unknown result?
>>
> `uname -m` return `i686-pc`

Oops, I meant `uname -s`, sorry!

-- Hisham

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to