Commit e742b7bdc2 for qemu.org
commit e742b7bdc244499761a21bc1965580c6261a74bf
Author: Stefan Weil <sw@weilnetz.de>
Date: Tue Dec 9 14:02:12 2025 +0100
scripts/nsis.py: Tell makensis that WoA is 64 bit
This fixes some settings like the default installation path
for the QEMU installation on Windows on ARM (WoA).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251209130212.764443-1-sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
diff --git a/scripts/nsis.py b/scripts/nsis.py
index 8f469634eb..33069f4a86 100644
--- a/scripts/nsis.py
+++ b/scripts/nsis.py
@@ -114,7 +114,7 @@ def main():
"-DSRCDIR=" + args.srcdir,
"-DBINDIR=" + destdir + prefix,
]
- if args.cpu == "x86_64":
+ if args.cpu == "aarch64" or args.cpu == "x86_64":
makensis += ["-DW64"]
makensis += ["-DDLLDIR=" + dlldir]