aboutsummaryrefslogtreecommitdiff
path: root/libraries/lua-posix
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 16:51:27 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:32 +0700
commit250199adf38de7eec6c6cbb39bff2c38dacacab2 (patch)
tree0dc7324c4c32022e36be1d700a2611ab0e3d7369 /libraries/lua-posix
parente420fcaaea4d9b05966c0f2deffff55e49746599 (diff)
libraries/lua-posix: Install in lib64 on x86_64.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/lua-posix')
-rw-r--r--libraries/lua-posix/lua-posix.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/lua-posix/lua-posix.SlackBuild b/libraries/lua-posix/lua-posix.SlackBuild
index 5f24e174526d..4ce422273888 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