build.sh 333 B

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