blob: 190bc830b377608e31a5bf9470417d41a15d9ede [file] [log] [blame]
sudo apt-get install -y $(test $ARCH == 32 && echo libc6-dev-i386 || echo mingw-w64) jq texinfo
mkdir -p $HOME/src &&
cd $_ &&
curl -L https://github.com/yaml/libyaml/archive/0.2.2.tar.gz | tar zx &&
cd libyaml-0.2.2 &&
./bootstrap &&
./configure --host $(test $ARCH == 32 && echo i686-w64-mingw32 || echo x86_64-w64-mingw32) --prefix=$HOME/build/win$ARCH/libyaml &&
make &&
make install