Strip libexec

This commit is contained in:
Wildan M 2026-03-08 00:16:48 +07:00
parent 6642d12afb
commit 7b9e5dfa1e
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

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