diff --git a/tools/dependencies/libtiff.sh b/tools/dependencies/libtiff.sh index f57099bde845..a1140d52a94c 100755 --- a/tools/dependencies/libtiff.sh +++ b/tools/dependencies/libtiff.sh @@ -19,16 +19,16 @@ # This script builds the static library of libtiff that can be used as dependency of mxnet/opencv. set -ex -TIFF_VERSION="4.0.10" +TIFF_VERSION="4-0-9" if [[ ! -f $DEPS_PATH/lib/libtiff.a ]]; then # download and build libtiff >&2 echo "Building libtiff..." download \ - https://download.osgeo.org/libtiff/tiff-${TIFF_VERSION}.zip \ + https://gitlab.com/libtiff/libtiff/-/archive/Release-v${TIFF_VERSION}/libtiff-Release-v${TIFF_VERSION}.zip \ ${DEPS_PATH}/libtiff.zip unzip -q $DEPS_PATH/libtiff.zip -d $DEPS_PATH pushd . - cd $DEPS_PATH/tiff-$TIFF_VERSION + cd $DEPS_PATH/libtiff-Release-v$TIFF_VERSION ./configure --quiet --disable-shared --disable-jpeg --disable-zlib --disable-jbig --disable-lzma --prefix=$DEPS_PATH $MAKE $MAKE install