Skip to content

Commit

Permalink
BUG: Fix features tests on cross-compile builds
Browse files Browse the repository at this point in the history
  • Loading branch information
seiko2plus committed Sep 10, 2023
1 parent 7768ba2 commit 82d41db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/modules/features/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from .. import ModuleState

def get_compiler(state: 'ModuleState') -> 'Compiler':
for_machine = MachineChoice.BUILD
for_machine = MachineChoice.HOST
clist = state.environment.coredata.compilers[for_machine]
for cstr in ('c', 'cpp'):
try:
Expand Down

0 comments on commit 82d41db

Please sign in to comment.