summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/windows/tools/link.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-22 10:47:06 +0800
committerruki <[email protected]>2015-12-22 10:47:06 +0800
commitb378a1f331cda1f9520b0a3d86feabb498021cb4 (patch)
treed934946b03468d584b48e4161df848a5a78673be /xmake/scripts/platform/windows/tools/link.lua
parente9ba9a93d79ab8163d70efbe5b78101595588971 (diff)
support windows x64 x86_amd64 amd64 arch
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 b1fda427a..15d0f271e 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 == "i386" then flags_arch = "-machine:x86"
- elseif arch == "x86_64" then flags_arch = "-machine:x86_64"
+ if arch == "x86" then flags_arch = "-machine:x86"
+ elseif arch == "x64" or arch == "amd64" then flags_arch = "-machine:x64"
end
-- init ldflags