mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Caused by a regression in Qt. https://bugreports.qt.io/browse/QTBUG-46882 Also, add the build scripts for calibre dependencies on OSX and linux to the source tree.
12 lines
415 B
Bash
Executable File
12 lines
415 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
export CFLAGS="$CFLAGS -mmacosx-version-min=10.7"
|
|
export LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names -mmacosx-version-min=10.7"
|
|
|
|
cd $SW/build/Pillow* && \
|
|
echo Disabling zip_safe && \
|
|
python -c "f = open('setup.py', 'r+b'); raw = f.read(); import re; raw = re.sub(r'zip_safe\s*=\s*True', 'zip_safe=False', raw); f.seek(0); f.truncate(0); f.write(raw)" && \
|
|
python setup.py install
|
|
|