libraries/squish: Only apply patch for x86.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-03-05 07:19:18 +07:00
parent b7c767c0c9
commit 2105717586

View file

@ -75,7 +75,10 @@ find -L . \
# respect $LIBDIRSUFFIX
sed -i "s|\ lib$| lib$LIBDIRSUFFIX|" CMakeLists.txt
patch < $CWD/squish.patch
if [ "$ARCH" != "x86_64" ]; then
patch < $CWD/squish.patch
fi
# we build squish statically, as it's the most common use
mkdir -p build
cd build