ports: Don't build static zlib and zstd

This commit is contained in:
2026-07-05 13:06:32 +03:00
parent eee0b7c3ff
commit db8544065e
2 changed files with 10 additions and 4 deletions

View File

@@ -5,10 +5,11 @@ VERSION='1.3.2'
DOWNLOAD_URL="https://www.zlib.net/zlib-$VERSION.tar.gz#bb329a0a2cd0274d05519d61c667c062e06990d72e125ee2dfa8de64f0119d16"
configure() {
cmake --fresh -B build -S . -G Ninja \
cmake --fresh -S . -B build -G Ninja \
--toolchain="$BANAN_TOOLCHAIN_DIR/Toolchain.txt" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_BUILD_TYPE=Release \
-DZLIB_BUILD_STATIC=OFF \
|| exit 1
}