Skip to content

Commit

Permalink
fix: zstd-static
Browse files Browse the repository at this point in the history
  • Loading branch information
msojocs committed May 20, 2024
1 parent b292eb7 commit 8305b2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ cd ../../
export CFLAGS="-ffunction-sections -fdata-sections -Os"

# Build static squashfuse
apk add zstd-dev zlib-dev zlib-static zstd-static # fuse3-dev fuse3-static fuse-static fuse-dev
apk add zstd-dev zlib-dev zlib-static # fuse3-dev fuse3-static fuse-static fuse-dev
if [ "$ARCHITECTURE" == "loong64" ];then
# only loong64 can install this package, other arch can not install it.
apk add --no-cache zstd-static
fi
find / -name "libzstd.*" 2>/dev/null || true
wget -c -q "https://github.com/vasi/squashfuse/archive/e51978c.tar.gz"
echo "f544029ad30d8fbde4e4540c574b8cdc6d38b94df025a98d8551a9441f07d341 e51978c.tar.gz" | sha256sum -c
Expand Down

0 comments on commit 8305b2d

Please sign in to comment.