mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Shared libraries may be located within usr/lib64
This commit is contained in:
parent
731bcda904
commit
9fe014876a
|
@ -23,7 +23,12 @@ else
|
|||
cargo cinstall --prefix=/usr --destdir=.
|
||||
|
||||
# Copy into place
|
||||
sudo cp usr/lib/libimagequant.so* /usr/lib/
|
||||
if [ -d "usr/lib64" ]; then
|
||||
lib="lib64"
|
||||
else
|
||||
lib="lib"
|
||||
fi
|
||||
sudo cp usr/$lib/libimagequant.so* /usr/lib/
|
||||
sudo cp usr/include/libimagequant.h /usr/include/
|
||||
|
||||
if [ -n "$GITHUB_ACTIONS" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user