summaryrefslogtreecommitdiffstats
path: root/iscan
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-07-13 23:48:41 +0000
committer Eric Hameleers <alien@slackware.com>2015-07-13 23:48:41 +0000
commitddbff689f6c0af37416dd3ef876bd57b76513975 (patch)
tree27235f2b38f07d3301c801cc4a20a76162db9d9b /iscan
parenta46453b70d66fda31b825acf251063902b4be96e (diff)
downloadasb-ddbff689f6c0af37416dd3ef876bd57b76513975.tar.gz
asb-ddbff689f6c0af37416dd3ef876bd57b76513975.tar.xz
iscan: support OS with libpng14
Diffstat (limited to 'iscan')
-rwxr-xr-xiscan/build/iscan.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/iscan/build/iscan.SlackBuild b/iscan/build/iscan.SlackBuild
index 1fbf8358..a8340404 100755
--- a/iscan/build/iscan.SlackBuild
+++ b/iscan/build/iscan.SlackBuild
@@ -52,8 +52,8 @@ DOCS="COPYING INSTALL NEWS README non-free/AVASYSPL.en.txt"
PNGMINOR=$(pkg-config --modversion libpng |cut -d'.' -f2)
if [ $PNGMINOR -gt 5 ]; then
PNG_LDFLAGS="-lpng16"
-else
- PNG_LDFLAGS=""
+elif [ $PNGMINOR -eq 4 ]; then
+ PNG_LDFLAGS="-lpng14"
fi
# Where do we look for sources?