libraries/VTK: Fixed build error on i486.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-01-26 23:18:57 +00:00 committed by Willy Sudiarto Raharjo
parent 9eb0e0335d
commit 7482160bd0

View file

@ -134,11 +134,11 @@ cd build
make install DESTDIR=$PKG
cd ..
mkdir -p $PKG/usr/lib64/python2.7/site-packages/
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/
mv \
$PKG/opt/VTK/lib64/python2.7/site-packages/vtk \
$PKG/usr/lib64/python2.7/site-packages/
rm -rf $PKG/opt/VTK/lib64/python2.7
$PKG/opt/VTK/lib$LIBDIRSUFFIX/python2.7/site-packages/vtk \
$PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/
rm -rf $PKG/opt/VTK/lib$LIBDIRSUFFIX/python2.7
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