From cb98cd6542f3ce2657c6d5bec40bb682e32ebdcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Wed, 2 Nov 2022 14:12:19 +0000 Subject: [PATCH] [meson] Use the appropriate `strip` binary Whether it's native or not must match how mksnapshot is built. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index a745de8f98..db6a0a3951 100644 --- a/meson.build +++ b/meson.build @@ -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