Use host_machine instead of target_machine. Confusingly, host_machine is not the build host, but rather the target machine that the binaries will run on. build_machine is the build host. It probably made sense to the person in the 1980s who came up with this, but meh.
This commit is contained in:
parent
7063ed6e32
commit
a440b174f7
|
@ -42,7 +42,7 @@ foreach name, value : libui_forced_options
|
|||
endif
|
||||
endforeach
|
||||
|
||||
libui_OS = target_machine.system()
|
||||
libui_OS = host_machine.system()
|
||||
libui_MSVC = meson.get_compiler('c').get_id() == 'msvc'
|
||||
|
||||
libui_mode = get_option('default_library')
|
||||
|
|
Loading…
Reference in New Issue