Merge pull request #8407 from radarhere/libimagequant_lib64

This commit is contained in:
Hugo van Kemenade 2024-09-23 16:37:20 -07:00 committed by GitHub
commit 8d0a6d0bbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,12 @@ else
cargo cinstall --prefix=/usr --destdir=. cargo cinstall --prefix=/usr --destdir=.
# Copy into place # 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/ sudo cp usr/include/libimagequant.h /usr/include/
if [ -n "$GITHUB_ACTIONS" ]; then if [ -n "$GITHUB_ACTIONS" ]; then