summaryrefslogtreecommitdiff
path: root/libraries/netcdf/netcdf.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-08-12 17:01:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:19 +0700
commit708e5cf9ccdf16662912d636b05bf6ff3a11dfdd (patch)
tree5e58d6ce8051dc4ef4e63fc5d65f38752950c798 /libraries/netcdf/netcdf.SlackBuild
parent30d14f2f7438ac9efc8496c40af0181ea4cd905c (diff)
downloadslackbuilds-708e5cf9ccdf16662912d636b05bf6ff3a11dfdd.tar.gz
libraries/netcdf: Fixed build with HDF4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/netcdf/netcdf.SlackBuild')
-rw-r--r--libraries/netcdf/netcdf.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/netcdf/netcdf.SlackBuild b/libraries/netcdf/netcdf.SlackBuild
index 02c14d7261..24733fb55d 100644
--- a/libraries/netcdf/netcdf.SlackBuild
+++ b/libraries/netcdf/netcdf.SlackBuild
@@ -74,6 +74,7 @@ find -L . \
if [ "${HDF4:-no}" = 'yes' ]; then
hdf4opt="--enable-hdf4"
+ export LDFLAGS="-ljpeg"
else
hdf4opt=""
fi