summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/windows/tools/link.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-12 14:39:38 +0800
committerruki <[email protected]>2015-06-12 14:39:38 +0800
commiteb0e6fe79d8e49d82bb600529028fcf28767a2d8 (patch)
tree47d565fb521efebf5919ddaef495e026517a1179 /xmake/scripts/platform/windows/tools/link.lua
parent3c4c1616be193d5146e2ddd9f8dcc706baf1f8f5 (diff)
modify arch name
Diffstat (limited to 'xmake/scripts/platform/windows/tools/link.lua')
-rw-r--r--xmake/scripts/platform/windows/tools/link.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/platform/windows/tools/link.lua b/xmake/scripts/platform/windows/tools/link.lua
index 4c8d59aaa..4a77c9908 100644
--- a/xmake/scripts/platform/windows/tools/link.lua
+++ b/xmake/scripts/platform/windows/tools/link.lua
@@ -41,8 +41,8 @@ function link.init(self, name)
-- init flags for architecture
local flags_arch = ""
- if arch == "x86" then flags_arch = "-machine:x86"
- elseif arch == "x64" then flags_arch = "-machine:x86_64"
+ if arch == "i386" then flags_arch = "-machine:x86"
+ elseif arch == "x86_64" then flags_arch = "-machine:x86_64"
end
-- init ldflags