Skip to content

Commit

Permalink
[meson] Use the appropriate strip binary
Browse files Browse the repository at this point in the history
Whether it's for the build machine or the host machine must match how
mksnapshot is built.
  • Loading branch information
oleavr committed Nov 2, 2022
1 parent 469635b commit bda4a1a
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 @@ -562,7 +562,7 @@ commit_codegen = [python, files('tools' / 'meson-commit-codegen.py')]
post_process_executable = [python, files('tools' / 'meson-post-process-executable.py')]

if build_os != 'win'
strip = find_program('strip', native: true)
strip = find_program('strip', native: not meson.can_run_host_binaries())
else
strip = ''
endif
Expand Down

0 comments on commit bda4a1a

Please sign in to comment.