meson: use target_machine instead of host_machine

This commit is contained in:
Kirill Chibisov 2022-04-03 11:46:25 +00:00 committed by Simon Ser
parent 578e5614d4
commit 2e14bed9f7
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ project(
# between minor releases.
soversion = 11
little_endian = host_machine.endian() == 'little'
big_endian = host_machine.endian() == 'big'
little_endian = target_machine.endian() == 'little'
big_endian = target_machine.endian() == 'big'
add_project_arguments([
'-DWLR_USE_UNSTABLE',