Skip to content

Commit 58ef920

Browse files
authored
Merge pull request #8420 from radarhere/libimagequant_lib64
2 parents 25592b6 + e976096 commit 58ef920

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

depends/install_imagequant.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,14 @@ else
2323
cargo cinstall --prefix=/usr --destdir=.
2424

2525
# Copy into place
26-
if [ -d "usr/lib64" ]; then
27-
lib="lib64"
28-
else
29-
lib="lib"
30-
fi
31-
sudo cp usr/$lib/libimagequant.so* /usr/lib/
26+
sudo find usr -name libimagequant.so* -exec cp {} /usr/lib/ \;
3227
sudo cp usr/include/libimagequant.h /usr/include/
3328

3429
if [ -n "$GITHUB_ACTIONS" ]; then
3530
# Copy to cache
3631
rm -rf ~/cache-$archive_name
3732
mkdir ~/cache-$archive_name
38-
cp usr/lib/libimagequant.so* ~/cache-$archive_name/
33+
find usr -name libimagequant.so* -exec cp {} ~/cache-$archive_name/ \;
3934
cp usr/include/libimagequant.h ~/cache-$archive_name/
4035
fi
4136

0 commit comments

Comments
 (0)