diff options
author | Hisham <hisham@gobolinux.org> | 2016-08-22 18:36:30 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-08-22 18:36:30 -0300 |
commit | af41c31d62c4e44c9f5c12a8ce10d6d49aa05347 (patch) | |
tree | 50630feb7794ef8ed592b0d7083334b86fa71a9d | |
parent | 0e5cc18334cce0680d1b7be1050b2e67e019e286 (diff) | |
download | luarocks-af41c31d62c4e44c9f5c12a8ce10d6d49aa05347.tar.gz luarocks-af41c31d62c4e44c9f5c12a8ce10d6d49aa05347.tar.bz2 luarocks-af41c31d62c4e44c9f5c12a8ce10d6d49aa05347.zip |
Use Unix makefile by default on MinGW;
Makefile.win is a leftover from Kepler days, and those are
usually NMAKE makefiles for MSVC.
-rw-r--r-- | src/luarocks/cfg.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index d84ebc6e..bcb30342 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -468,6 +468,7 @@ if cfg.platforms.mingw32 then | |||
468 | defaults.variables.LD = "mingw32-gcc" | 468 | defaults.variables.LD = "mingw32-gcc" |
469 | defaults.variables.CFLAGS = "-O2" | 469 | defaults.variables.CFLAGS = "-O2" |
470 | defaults.variables.LIBFLAG = "-shared" | 470 | defaults.variables.LIBFLAG = "-shared" |
471 | defaults.makefile = "Makefile" | ||
471 | defaults.external_deps_patterns = { | 472 | defaults.external_deps_patterns = { |
472 | bin = { "?.exe", "?.bat" }, | 473 | bin = { "?.exe", "?.bat" }, |
473 | -- mingw lookup list from http://stackoverflow.com/a/15853231/1793220 | 474 | -- mingw lookup list from http://stackoverflow.com/a/15853231/1793220 |