nsis: Fix build for 64 bit installer

Pass cpu instead of cpu_family to the NSIS installer script.

That script checks for "x86_64" which is the cpu value,
while cpu_family is "x86".

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201125191833.964753-1-sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Stefan Weil 2020-11-25 20:18:33 +01:00 committed by Paolo Bonzini
parent 92ea027017
commit 24bdcc9608
1 changed files with 1 additions and 1 deletions

View File

@ -1955,7 +1955,7 @@ if host_machine.system() == 'windows'
'@OUTPUT@',
get_option('prefix'),
meson.current_source_dir(),
host_machine.cpu_family(),
host_machine.cpu(),
'--',
'-DDISPLAYVERSION=' + meson.project_version(),
]