Skip to content

Commit

Permalink
Fix mod bootstrap for macOS
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Oct 7, 2023
1 parent 8f1ad5b commit e73506c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bootstrap-mod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,10 @@ PILLOW_EXTRAFLAGS+=" --disable-tiff"
PILLOW_EXTRAFLAGS+=" --disable-webp"
PILLOW_EXTRAFLAGS+=" --disable-webpmux"
PILLOW_EXTRAFLAGS+=" --disable-xcb"
PILLOW_EXTRAFLAGS+=" --disable-platform-guessing"

if [ "${WIN32}" -eq 1 ] && [ "${CROSS_COMPILING}" -eq 1 ]; then
PILLOW_EXTRAFLAGS+=" --disable-platform-guessing"
fi

download Pillow "${PILLOW_VERSION}" "https://files.pythonhosted.org/packages/21/23/af6bac2a601be6670064a817273d4190b79df6f74d8012926a39bc7aa77f"
build_python Pillow "${PILLOW_VERSION}" "${PILLOW_EXTRAFLAGS}"
Expand Down
2 changes: 1 addition & 1 deletion setup/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ function build_python() {
pushd "${pkgdir}"
# always try twice, python checks for installed deps and fails the first time
${python} setup.py install --prefix="${PAWPAW_PREFIX}" --verbose || \
${python} setup.py install --prefix="${PAWPAW_PREFIX}" --verbose
${python} setup.py install --prefix="${PAWPAW_PREFIX}" --verbose || true
touch .stamp_installed
popd
fi
Expand Down

0 comments on commit e73506c

Please sign in to comment.