|
|
@ -78,7 +78,11 @@ function _require_packages(argv, packages) |
|
|
|
end |
|
|
|
end |
|
|
|
local runtimes = argv.runtimes or argv.vs_runtime |
|
|
|
local runtimes = argv.runtimes or argv.vs_runtime |
|
|
|
if runtimes then |
|
|
|
if runtimes then |
|
|
|
table.insert(config_argv, "--vs_runtime=" .. runtimes) |
|
|
|
if is_host("windows") then |
|
|
|
|
|
|
|
table.insert(config_argv, "--vs_runtime=" .. runtimes) |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
table.insert(config_argv, "--runtimes=" .. runtimes) |
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
if argv.xcode_sdkver then |
|
|
|
if argv.xcode_sdkver then |
|
|
|
table.insert(config_argv, "--xcode_sdkver=" .. argv.xcode_sdkver) |
|
|
|
table.insert(config_argv, "--xcode_sdkver=" .. argv.xcode_sdkver) |
|
|
|