aboutsummaryrefslogtreecommitdiff
path: root/development/build2
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-10-26 21:34:19 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-10-28 13:11:51 +0700
commit994d2cc651cebae71b30bad948d9ffc8c9ba0bc0 (patch)
tree6f3385bd099f9f85c9b98818c9fd4339b97e6af4 /development/build2
parentac92f2139d39e19a9f5347cbfa34e4ec09a24cfb (diff)
downloadslackbuilds-994d2cc651cebae71b30bad948d9ffc8c9ba0bc0.tar.xz
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>
Diffstat (limited to 'development/build2')
-rw-r--r--development/build2/build2.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/development/build2/build2.SlackBuild b/development/build2/build2.SlackBuild
index b60fe06892ee..6ca472da6192 100644
--- a/development/build2/build2.SlackBuild
+++ b/development/build2/build2.SlackBuild
@@ -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 {} \;