name linux executable with host_machine.cpu()

This commit is contained in:
Struma 2020-05-01 23:47:06 -04:00 committed by Roza
parent 14811b3f5b
commit c996a8b61e
2 changed files with 3 additions and 3 deletions

View file

@ -8,12 +8,12 @@ if get_option('appimage') == true
install_data('mkxp-z.png') install_data('mkxp-z.png')
install_data('mkxp-z.desktop') install_data('mkxp-z.desktop')
meson.add_install_script('make_appimg.sh', meson.project_name(), get_option('appimagekit_path'), swarg) meson.add_install_script('make_appimg.sh', meson.project_name() + '.' + host_machine.cpu(), get_option('appimagekit_path'), swarg)
else else
if sizeof['long'] == 8 if sizeof['long'] == 8
archarg = '64' archarg = '64'
else else
archarg = '32' archarg = '32'
endif endif
meson.add_install_script('install.sh', meson.project_name(), archarg, swarg) meson.add_install_script('install.sh', meson.project_name() + '.' + host_machine.cpu(), archarg, swarg)
endif endif

View file

@ -197,7 +197,7 @@ if steamworks == true
endif endif
if host_system == 'linux' if host_system == 'linux'
exe_name += '_' + host_machine.cpu_family() exe_name += '.' + host_machine.cpu()
endif endif
executable(exe_name, executable(exe_name,