Skip to content

Commit 55fb7df

Browse files
committed
BUG: Fix features tests on cross-compile builds
1 parent f82ccbd commit 55fb7df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mesonbuild/modules/features/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from .. import ModuleState
1010

1111
def get_compiler(state: 'ModuleState') -> 'Compiler':
12-
for_machine = MachineChoice.BUILD
12+
for_machine = MachineChoice.HOST
1313
clist = state.environment.coredata.compilers[for_machine]
1414
for cstr in ('c', 'cpp'):
1515
try:

0 commit comments

Comments
 (0)