before_install_linux.sh in rmagick-5.2.0 vs before_install_linux.sh in rmagick-5.3.0
- old
+ new
@@ -22,11 +22,11 @@
sudo apt-get autoremove -y imagemagick* libmagick* --purge
# install build tools, ImageMagick delegates
sudo apt-get install -y build-essential libx11-dev libxext-dev zlib1g-dev \
liblcms2-dev libpng-dev libjpeg-dev libfreetype6-dev libxml2-dev \
- libtiff5-dev libwebp-dev liblqr-1-0-dev vim gsfonts ghostscript ccache
+ libtiff5-dev libwebp-dev liblqr-1-0-dev vim gsfonts ghostscript
if [ ! -d /usr/include/freetype ]; then
# If `/usr/include/freetype` is not existed, ImageMagick 6.7 configuration fails about Freetype.
sudo ln -sf /usr/include/freetype2 /usr/include/freetype
fi
@@ -50,10 +50,10 @@
if [ -v CONFIGURE_OPTIONS ]; then
options="${CONFIGURE_OPTIONS} ${options}"
fi
cd "${build_dir}"
- CC="ccache cc" CXX="ccache c++" ./configure --prefix=/usr "${options}"
+ ./configure --prefix=/usr "${options}"
make -j
}
if [ ! -d "${build_dir}" ]; then
build_imagemagick