libraries/libversion: Fix build on x86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
9f6dbc5e0f
commit
8bf8aeb0f0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue