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:
Pietro Gagliardi 2019-03-22 22:04:07 -04:00
parent 7063ed6e32
commit a440b174f7
1 changed files with 1 additions and 1 deletions

View File

@ -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')