diff --git a/scripts/process-debuginfo.in b/scripts/process-debuginfo.in index f54e218..dc81259 100755 --- a/scripts/process-debuginfo.in +++ b/scripts/process-debuginfo.in @@ -64,7 +64,7 @@ if [ -n "$strip" ]; then mkdir -p "${debugf%/*}" LD_ORIGIN_PATH=/usr/bin eu-strip $strip --remove-comment -f "$debugf" "$f" - if [ -n "$elfcompress" ]; then + if [ -n "$elfcompress" ] && [ -x /usr/bin/eu-elfcompress ]; then LD_ORIGIN_PATH=/usr/bin eu-elfcompress --quiet "$debugf" fi