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.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
if sizeof['long'] == 8
archarg = '64'
else
archarg = '32'
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

View file

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