mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-22 06:02:04 +02:00
name linux executable with host_machine.cpu()
This commit is contained in:
parent
14811b3f5b
commit
c996a8b61e
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue