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 native or not must match how mksnapshot is built.
  • Loading branch information
oleavr committed Nov 2, 2022
1 parent 469635b commit cb98cd6
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 cb98cd6

Please sign in to comment.