diff options
Diffstat (limited to 'src/luarocks/cfg.lua')
-rw-r--r-- | src/luarocks/cfg.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 45dbdd1b..f806f822 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -371,6 +371,7 @@ end | |||
371 | if detected.mingw32 then | 371 | if detected.mingw32 then |
372 | defaults.platforms = { "win32", "mingw32", "windows" } | 372 | defaults.platforms = { "win32", "mingw32", "windows" } |
373 | defaults.obj_extension = "o" | 373 | defaults.obj_extension = "o" |
374 | defaults.cmake_generator = "MinGW Makefiles" | ||
374 | defaults.variables.MAKE = "mingw32-make" | 375 | defaults.variables.MAKE = "mingw32-make" |
375 | defaults.variables.CC = "mingw32-gcc" | 376 | defaults.variables.CC = "mingw32-gcc" |
376 | defaults.variables.RC = "windres" | 377 | defaults.variables.RC = "windres" |
@@ -401,6 +402,7 @@ if detected.unix then | |||
401 | defaults.variables.LUA_INCDIR = site_config.LUA_INCDIR or "/usr/local/include" | 402 | defaults.variables.LUA_INCDIR = site_config.LUA_INCDIR or "/usr/local/include" |
402 | defaults.variables.LUA_LIBDIR = site_config.LUA_LIBDIR or "/usr/local/lib" | 403 | defaults.variables.LUA_LIBDIR = site_config.LUA_LIBDIR or "/usr/local/lib" |
403 | defaults.variables.CFLAGS = "-O2" | 404 | defaults.variables.CFLAGS = "-O2" |
405 | defaults.cmake_generator = "Unix Makefiles" | ||
404 | defaults.platforms = { "unix" } | 406 | defaults.platforms = { "unix" } |
405 | defaults.variables.CC = "gcc" | 407 | defaults.variables.CC = "gcc" |
406 | defaults.variables.LD = "gcc" | 408 | defaults.variables.LD = "gcc" |
@@ -432,6 +434,7 @@ if detected.cygwin then | |||
432 | defaults.lib_extension = "so" -- can be overridden in the config file for mingw builds | 434 | defaults.lib_extension = "so" -- can be overridden in the config file for mingw builds |
433 | defaults.arch = "cygwin-"..proc | 435 | defaults.arch = "cygwin-"..proc |
434 | defaults.platforms = {"unix", "cygwin"} | 436 | defaults.platforms = {"unix", "cygwin"} |
437 | defaults.cmake_generator = "Unix Makefiles" | ||
435 | defaults.variables.CC = "echo -llua | xargs gcc" | 438 | defaults.variables.CC = "echo -llua | xargs gcc" |
436 | defaults.variables.LD = "echo -llua | xargs gcc" | 439 | defaults.variables.LD = "echo -llua | xargs gcc" |
437 | defaults.variables.LIBFLAG = "-shared" | 440 | defaults.variables.LIBFLAG = "-shared" |