summaryrefslogtreecommitdiff
path: root/libraries/jbigkit/jbigkit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/jbigkit/jbigkit.SlackBuild')
-rw-r--r--libraries/jbigkit/jbigkit.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/libraries/jbigkit/jbigkit.SlackBuild b/libraries/jbigkit/jbigkit.SlackBuild
index 356781a512..e83ab279d0 100644
--- a/libraries/jbigkit/jbigkit.SlackBuild
+++ b/libraries/jbigkit/jbigkit.SlackBuild
@@ -8,12 +8,10 @@ VERSION=2.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -50,7 +48,7 @@ chmod -R u+w,go+r-w,a-s .
# Build the shared library first
cd libjbig
- make libjbig.a CFLAGS="$SLKCFLAGS"
+ make libjbig.a CFLAGS="$SLKCFLAGS"
gcc -shared -o libjbig.so.$VERSION -Wl,-soname=libjbig.so.$VERSION \
$(ar t libjbig.a)
ln -snf libjbig.so.$VERSION libjbig.so