Am 08.09.22 um 15:28 schrieb Bin Meng: > From: Bin Meng > > "make installer" on Windows fails with the following message: > > Traceback (most recent call last): > File "G:\msys64\home\foo\git\qemu\scripts\nsis.py", line 89, in > main() > File "G:\msys64\home\foo\git\qemu\scripts\nsis.py", line 34, in main > with open( > OSError: [Errno 22] Invalid argument: > 'R:/Temp/tmpw83xhjquG:/msys64/qemu/system-emulations.nsh' > ninja: build stopped: subcommand failed. > > Use os.path.splitdrive() to form a canonical path without the drive > letter on Windows. This works with cross-build on Linux too. > > Fixes: 8adfeba953e0 ("meson: add NSIS building") > Signed-off-by: Bin Meng > --- > > scripts/nsis.py | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > Tested-by: Stefan Weil