Skip to content

Commit

Permalink
Use "host_machine", not "target_machine" for cross-compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
kelson42 committed Feb 11, 2022
1 parent 321c55c commit 1d4e32d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ find_library_in_compiler = meson.version().version_compare('>=0.31.0')
rt_dep = dependency('rt', required:false)
docopt_dep = dependency('docopt', static:static_linkage)

with_writer = target_machine.system() != 'windows'
with_writer = host_machine.system() != 'windows'

if with_writer
thread_dep = dependency('threads')
Expand Down

0 comments on commit 1d4e32d

Please sign in to comment.