#!/bin/bash set -e # Zstd build script # Compiles zstd with proper prefix configuration build_dir=$1 # With simpleBuildEnvironment flag, we're already in build directory # Source is in sources/zstd relative to package root src_dir="sources/zstd" echo "Building zstd..." make -C ${src_dir} prefix=${PREFIX} echo "Build complete."