#!/bin/sh -e
./configure \
--prefix=/usr
make
make DESTDIR="$1" install
mkdir -p "$1/bin"
ln -s "/lib/ld-musl-x86_64.so.1" "$1/bin/ldd"