diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-05-31 23:47:09 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-03 07:59:45 +0700 |
commit | 8bf8aeb0f0bef2f29d18f7c2bfeaf1d305ff7285 (patch) | |
tree | 6bb9abe5fcb26c2dde907fab43cdf1b33929ef14 /libraries/libversion | |
parent | 9f6dbc5e0ff61c449c8f0b459e0b9797f3f540d5 (diff) |
libraries/libversion: Fix build on x86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libversion')
-rw-r--r-- | libraries/libversion/libversion.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/libversion/libversion.SlackBuild b/libraries/libversion/libversion.SlackBuild index 19e9e51df789..179444d3dc8b 100644 --- a/libraries/libversion/libversion.SlackBuild +++ b/libraries/libversion/libversion.SlackBuild @@ -82,11 +82,12 @@ cd .. 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 -mv -u $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} +if [ "$ARCH" = "x86_64" ]; then + mv -u $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} +fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGES.md COPYING README.md TODO.md \ +cp -a CHANGES.md COPYING README.md TODO.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |