mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
libraries/squish: Only apply patch for x86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b7c767c0c9
commit
2105717586
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue