#! /bin/sh

wd=`pwd`

./configure \
--disable-shared \
--enable-static \
--host i686-w64-mingw32 \
--target i686-w64-mingw32 \
--prefix=/mingw \
--with-libodb=../libodb \
CXXFLAGS="-O2 -W -Wall" \
CPPFLAGS="-I$wd/../cross/boost" \
LDFLAGS="-L$wd/../cross/boost/stage/lib"