From da03cb8e55ccdb6edfeeb42a859a29508f7eddad Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 19 Jun 2013 20:12:48 -0300 Subject: Set the 'windows' variable on mingw32. Thanks to Alexey Melnichuk for the heads up. --- src/luarocks/cfg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index f3cbe1fb..a4626e10 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua @@ -305,7 +305,7 @@ if detected.windows then end if detected.mingw32 then - defaults.platforms = { "win32", "mingw32" } + defaults.platforms = { "win32", "mingw32", "windows" } defaults.obj_extension = "o" defaults.cmake_generator = "MinGW Makefiles" defaults.variables.MAKE = "mingw32-make" -- cgit v1.2.3-55-g6feb