From 708e5cf9ccdf16662912d636b05bf6ff3a11dfdd Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 12 Aug 2016 17:01:23 +0100 Subject: libraries/netcdf: Fixed build with HDF4. Signed-off-by: David Spencer --- libraries/netcdf/netcdf.SlackBuild | 1 + 1 file changed, 1 insertion(+) (limited to 'libraries/netcdf') 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 -- cgit v1.2.3