mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 10:56:18 +03:00
multibuild now includes build_libjpeg_turbo
This commit is contained in:
parent
a0853faec2
commit
081da2c7c7
17
config.sh
17
config.sh
|
@ -23,20 +23,6 @@ LIBWEBP_VERSION=1.2.2
|
|||
BZIP2_VERSION=1.0.8
|
||||
LIBXCB_VERSION=1.14
|
||||
|
||||
function build_libjpeg_turbo {
|
||||
local cmake=$(get_modern_cmake)
|
||||
fetch_unpack https://download.sourceforge.net/libjpeg-turbo/libjpeg-turbo-${JPEGTURBO_VERSION}.tar.gz
|
||||
(cd libjpeg-turbo-${JPEGTURBO_VERSION} \
|
||||
&& $cmake -G"Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=/usr/local/lib . \
|
||||
&& make install)
|
||||
if [ -n "$IS_MACOS" ]; then
|
||||
rm /usr/local/lib/libjpeg.dylib
|
||||
fi
|
||||
|
||||
# Prevent build_jpeg
|
||||
touch jpeg-stamp
|
||||
}
|
||||
|
||||
function build_giflib {
|
||||
local name=giflib
|
||||
local version=$GIFLIB_VERSION
|
||||
|
@ -92,8 +78,9 @@ function pre_build {
|
|||
fi
|
||||
|
||||
build_libjpeg_turbo
|
||||
|
||||
if [[ -n "$IS_MACOS" ]]; then
|
||||
rm /usr/local/lib/libjpeg.dylib
|
||||
|
||||
TIFF_VERSION=4.2.0
|
||||
fi
|
||||
build_tiff
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit b89bb903e94308be79abefa4f436bf123ebb1313
|
||||
Subproject commit d0b05e7e7d3525690a077ea7b5536769f7e4ac23
|
Loading…
Reference in New Issue
Block a user