urbit/nix/pkgs/urcrypt/release.sh
2020-07-27 19:19:17 -07:00

14 lines
210 B
Bash

source $setup
cp -r $src ./src
chmod -R u+w ./src
cd ./src
for dep in $cross_inputs; do
export CFLAGS="${CFLAGS-} -I$dep/include"
export LDFLAGS="${LDFLAGS-} -L$dep/lib"
done
PREFIX=$out make install