diff options
-rw-r--r-- | libraries/lua-posix/lua-posix.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/lua-posix/lua-posix.SlackBuild b/libraries/lua-posix/lua-posix.SlackBuild index 5f24e174526dd..4ce4222738885 100644 --- a/libraries/lua-posix/lua-posix.SlackBuild +++ b/libraries/lua-posix/lua-posix.SlackBuild @@ -92,6 +92,10 @@ do fi done +if [ -e $PKG/usr/lib ] && [ ! -z "$LIBDIRSUFFIX" ]; then + mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX +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 |