From e5b6b1578d56643a951a454d16c1d9fd4abb9ac8 Mon Sep 17 00:00:00 2001 From: William Yang Date: Thu, 19 Sep 2024 21:25:22 +0200 Subject: [PATCH] build: make install exclude msquic shared lib --- build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3ad9cd88..bb9b7ada 100755 --- a/build.sh +++ b/build.sh @@ -75,7 +75,10 @@ release() { fi mkdir -p _packages TARGET_PKG="_packages/${PKGNAME}" - tar czvf "$TARGET_PKG" -C $(dirname "$TARGET_SO") --exclude include --exclude share --exclude .gitignore . + tar czvf "$TARGET_PKG" -C $(dirname "$TARGET_SO") \ + --exclude include --exclude share --exclude .gitignore \ + --exclude lib \ + . # use openssl but not sha256sum command because in some macos env it does not exist if command -v openssl; then openssl dgst -sha256 "${TARGET_PKG}" | cut -d ' ' -f 2 > "${TARGET_PKG}.sha256"