allow defining the arch tuple via meson (#1153)

This commit is contained in:
Jan
2022-10-12 18:33:10 -04:00
committed by GitHub
parent 334a7da5c9
commit fb8bc08a67
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -52,6 +52,9 @@ lite_cargs = ['-DSDL_MAIN_HANDLED', '-DPCRE2_STATIC']
if get_option('renderer') or host_machine.system() == 'darwin'
lite_cargs += '-DLITE_USE_SDL_RENDERER'
endif
if get_option('arch_tuple') != ''
lite_cargs += '-DLITE_ARCH_TUPLE="@0@"'.format(get_option('arch_tuple'))
endif
#===============================================================================
# Linker Settings
#===============================================================================