mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-15 06:07:33 +03:00
Merge pull request #8420 from radarhere/libimagequant_lib64
This commit is contained in:
commit
58ef920771
|
@ -23,19 +23,14 @@ else
|
||||||
cargo cinstall --prefix=/usr --destdir=.
|
cargo cinstall --prefix=/usr --destdir=.
|
||||||
|
|
||||||
# Copy into place
|
# Copy into place
|
||||||
if [ -d "usr/lib64" ]; then
|
sudo find usr -name libimagequant.so* -exec cp {} /usr/lib/ \;
|
||||||
lib="lib64"
|
|
||||||
else
|
|
||||||
lib="lib"
|
|
||||||
fi
|
|
||||||
sudo cp usr/$lib/libimagequant.so* /usr/lib/
|
|
||||||
sudo cp usr/include/libimagequant.h /usr/include/
|
sudo cp usr/include/libimagequant.h /usr/include/
|
||||||
|
|
||||||
if [ -n "$GITHUB_ACTIONS" ]; then
|
if [ -n "$GITHUB_ACTIONS" ]; then
|
||||||
# Copy to cache
|
# Copy to cache
|
||||||
rm -rf ~/cache-$archive_name
|
rm -rf ~/cache-$archive_name
|
||||||
mkdir ~/cache-$archive_name
|
mkdir ~/cache-$archive_name
|
||||||
cp usr/lib/libimagequant.so* ~/cache-$archive_name/
|
find usr -name libimagequant.so* -exec cp {} ~/cache-$archive_name/ \;
|
||||||
cp usr/include/libimagequant.h ~/cache-$archive_name/
|
cp usr/include/libimagequant.h ~/cache-$archive_name/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user