summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-08-15 17:06:55 +0800
committerGitHub <[email protected]>2026-08-15 17:06:55 +0800
commit069474769dcfb01898f2c7066c1bf71d5da79125 (patch)
treeb76e78276f52f6b18d9a5de5307dbb5adec41788
parent8bf5187281f1dcd3ea2f1cc41b1db5e9cf2cbc07 (diff)
parentedd2071661290b88c6717aab65eb9eb589b8be34 (diff)
Merge pull request #7703 from gycherish/wix-arch-mingw
fix(pack): recognize x86_64 when passing -arch to wix
-rw-r--r--xmake/plugins/pack/wix/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/wix/main.lua b/xmake/plugins/pack/wix/main.lua
index e12461883..f91c15273 100644
--- a/xmake/plugins/pack/wix/main.lua
+++ b/xmake/plugins/pack/wix/main.lua
@@ -326,7 +326,7 @@ function _pack_wix(wix, package)
table.join2(argv, {"-ext", "WixToolset.UI.wixext"})
table.join2(argv, {"-o", package:outputfile()})
- if package:arch() == "x64" then
+ if package:is_arch("x64", "x86_64") then
table.join2(argv, {"-arch", "x64"})
elseif package:arch() == "x86" then
table.join2(argv, {"-arch", "x86"})