summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2016-10-13 13:31:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-13 13:31:10 +0700
commit299272bcdfa76b9d7139e88d2c0ad05171ab3fa6 (patch)
tree4c4d6b7cf51f58555915070eeb20256764607787
parent319a3988e4fea637a242eedf03d8bef0b04fbba5 (diff)
downloadslackbuilds-299272bcdfa76b9d7139e88d2c0ad05171ab3fa6.tar.gz
libraries/SDL2_image: Fix JPEG support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/SDL2_image/SDL2_image.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/SDL2_image/SDL2_image.SlackBuild b/libraries/SDL2_image/SDL2_image.SlackBuild
index 9f0a672fc9..cb60e02c31 100644
--- a/libraries/SDL2_image/SDL2_image.SlackBuild
+++ b/libraries/SDL2_image/SDL2_image.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=SDL2_image
VERSION=${VERSION:-2.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -79,7 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--enable-static=no \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ --enable-jpg-shared=no
make
make install DESTDIR=$PKG