- update to elfutils-0.56.
[platform/upstream/rpm.git] / scripts / brp-strip-shared
index 501a278..d254f53 100644 (file)
@@ -11,6 +11,7 @@ fi
 # Please note we don't restrict our search to executable files because
 # our libraries are not (should not be, at least) +x.
 for f in `find $RPM_BUILD_ROOT -type f -a -exec file {} \; | \
+        grep -v "^${RPM_BUILD_ROOT}/\?usr/lib/debug"  | \
        grep ' shared object,' | \
        sed -n -e 's/^\(.*\):[  ]*ELF.*, not stripped/\1/p'`; do
        strip --strip-unneeded $f