mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Fixed brotli detection on aarch64
This commit is contained in:
parent
a9ec7366cb
commit
1a439c1832
|
@ -43,7 +43,7 @@ function build_brotli {
|
||||||
(cd $out_dir \
|
(cd $out_dir \
|
||||||
&& $cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib . \
|
&& $cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib . \
|
||||||
&& make install)
|
&& make install)
|
||||||
if [[ "$MB_ML_LIBC" == "manylinux" ]] && [[ "$PLAT" == "x86_64" ]]; then
|
if [[ "$MB_ML_LIBC" == "manylinux" ]]; then
|
||||||
cp /usr/local/lib64/libbrotli* /usr/local/lib
|
cp /usr/local/lib64/libbrotli* /usr/local/lib
|
||||||
cp /usr/local/lib64/pkgconfig/libbrotli* /usr/local/lib/pkgconfig
|
cp /usr/local/lib64/pkgconfig/libbrotli* /usr/local/lib/pkgconfig
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user