summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/link.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/link.lua')
-rw-r--r--xmake/modules/core/tools/link.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/link.lua b/xmake/modules/core/tools/link.lua
index 9493c9933..620c2468d 100644
--- a/xmake/modules/core/tools/link.lua
+++ b/xmake/modules/core/tools/link.lua
@@ -57,7 +57,7 @@ function get(self, name)
-- switch architecture, @note does cache it in init() for generating vs201x project
values = table.join(values, "-machine:" .. (config.arch() or "x86"))
end
- return _g[name]
+ return values
end
-- make the symbol flag