Browse Source

Fix mod bootstrap for macOS

Signed-off-by: falkTX <falktx@falktx.com>
pull/28/head
falkTX 1 year ago
parent
commit
e73506c75c
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      bootstrap-mod.sh
  2. +1
    -1
      setup/functions.sh

+ 4
- 1
bootstrap-mod.sh View File

@@ -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}"


+ 1
- 1
setup/functions.sh View File

@@ -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


Loading…
Cancel
Save