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

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',