Skip to content

Commit

Permalink
Shared libraries may be located within usr/lib64
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Sep 23, 2024
1 parent 731bcda commit 9fe0148
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion depends/install_imagequant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fe0148

Please sign in to comment.