diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2013-06-19 20:12:48 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2013-06-19 20:12:48 -0300 |
commit | da03cb8e55ccdb6edfeeb42a859a29508f7eddad (patch) | |
tree | 24e3e24b569202af374b4fb651ac06dbb3d8bb8a | |
parent | a26699651c869ac7a47fb579727cc8ec93bcf97c (diff) | |
download | luarocks-da03cb8e55ccdb6edfeeb42a859a29508f7eddad.tar.gz luarocks-da03cb8e55ccdb6edfeeb42a859a29508f7eddad.tar.bz2 luarocks-da03cb8e55ccdb6edfeeb42a859a29508f7eddad.zip |
Set the 'windows' variable on mingw32. Thanks to Alexey Melnichuk for the heads up.
-rw-r--r-- | src/luarocks/cfg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
305 | end | 305 | end |
306 | 306 | ||
307 | if detected.mingw32 then | 307 | if detected.mingw32 then |
308 | defaults.platforms = { "win32", "mingw32" } | 308 | defaults.platforms = { "win32", "mingw32", "windows" } |
309 | defaults.obj_extension = "o" | 309 | defaults.obj_extension = "o" |
310 | defaults.cmake_generator = "MinGW Makefiles" | 310 | defaults.cmake_generator = "MinGW Makefiles" |
311 | defaults.variables.MAKE = "mingw32-make" | 311 | defaults.variables.MAKE = "mingw32-make" |