Merge branch 'gcc-strip' into 'master'

Strip libexec

See merge request redox-os/redox!1987
This commit is contained in:
Jeremy Soller 2026-03-07 11:14:36 -07:00
commit 5e240e84eb

View File

@ -347,7 +347,7 @@ function cookbook_meson {
pub(crate) static BUILD_POSTSCRIPT: &str = r#"
# Strip binaries
for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin"
for dir in "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/usr/bin" "${COOKBOOK_STAGE}/libexec" "${COOKBOOK_STAGE}/usr/libexec"
do
if [ -d "${dir}" ] && [ -z "${COOKBOOK_NOSTRIP}" ]
then