shrub/nix/nixcrpkgs/pkgs/curl/builder.sh

16 lines
207 B
Bash
Raw Normal View History

source $setup
tar -xf $src
cd *
export CFLAGS=-fPIC
case $host in
*darwin*) CFLAGS="$CFLAGS -mmacosx-version-min=10.11";;
esac
./configure --prefix=$out --host=$host $configureFlags
make
make install