Skip to content

Commit eb62005

Browse files
authored
Merge pull request #316 from rhubert/fix-strip-shared
strip: fix strip of shared libraries
2 parents 6bb08b6 + 6d3150a commit eb62005

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/strip.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ packageSetup: |
2424
chmod u+w "$1"
2525
2626
# shared libraries need to be treated with care
27-
if [[ $1 == *.so* && $type == ELF*shared ]] ; then
27+
if [[ $1 == *.so* && $type == ELF*shared* ]] ; then
2828
$STRIP --remove-section=.comment --remove-section=.note \
2929
--strip-unneeded "$1"
3030
else

0 commit comments

Comments
 (0)