summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-24 23:08:39 +0800
committerruki <[email protected]>2020-12-24 23:08:39 +0800
commit70865b36f34647bda2bdd218b428bcca0cecc9da (patch)
tree98fba7be3efef8668b971d733a07c7eb285d6163 /xmake/modules/package/tools/xmake.lua
parent5beced53d4ba81070c79a777ac5f5f0233e22e4e (diff)
add utils.compiler.runtime rule
Diffstat (limited to 'xmake/modules/package/tools/xmake.lua')
-rw-r--r--xmake/modules/package/tools/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua
index 391afc4ca..115a5fbe8 100644
--- a/xmake/modules/package/tools/xmake.lua
+++ b/xmake/modules/package/tools/xmake.lua
@@ -33,7 +33,7 @@ function _get_configs(package, configs)
if package:is_plat("windows") then
local vs_runtime = package:config("vs_runtime")
if vs_runtime then
- table.insert(cxflags, "--vs_runtime=" .. vs_runtime)
+ table.insert(configs, "--vs_runtime=" .. vs_runtime)
end
end
table.insert(configs, "--mode=" .. (package:debug() and "debug" or "release"))