#! /bin/sh

wd=`pwd`

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