From 994d2cc651cebae71b30bad948d9ffc8c9ba0bc0 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Thu, 26 Oct 2023 21:34:19 +0900 Subject: [PATCH] development/build: Correct permissions on ELF libraries. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- development/build2/build2.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/development/build2/build2.SlackBuild b/development/build2/build2.SlackBuild index b60fe06892..6ca472da61 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 {} \;