development/build: Correct permissions on ELF libraries.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ac92f2139d
commit
994d2cc651
|
@ -93,6 +93,8 @@ fi
|
|||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
chmod 0755 $PKG/usr/lib${LIBDIRSUFFIX}/lib*.so*
|
||||
|
||||
# Documentation should be in /usr
|
||||
mv $PKG/usr/share/man $PKG/usr/man
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
|
|
Loading…
Reference in New Issue