Closed dsanders11 closed 1 year ago
I think a better long-term fix to this issue would be to add logic similar to this logic in electron/script/strip-binaries.py
which selects the architecture-specific strip binary, and uses it if it's available, otherwise do no stripping. That would allow setups to do stripping in all cases with some additional setup.
By default the host's
/usr/bin/strip
is used, which won't work when executables being stripped are for a different architecture.