#!/bin/sh

. config/options $1

$SCRIPTS/unpack libxml2

setup_toolchain host

cd $BUILD/libxml2-*

do_autoreconf
mkdir -p .build-host && cd .build-host
../configure --prefix=$ROOT/$TOOLCHAIN \
             --disable-ipv6 \
             --with-python \
             --with-zlib

make
make install
