Skip to content

Commit 82d41db

Browse files
committed
BUG: Fix features tests on cross-compile builds
1 parent 7768ba2 commit 82d41db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)