| *) echo "Usage: $0 i686|x86_64" >&2; exit 1 ;; |
| exec "$(dirname "$0")"/configure \ |
| --build=`../config.guess` \ |
| --prefix=$HOME/.local/$target \ |
| CFLAGS="-static-libgcc" \ |
| CXXFLAGS="-O2 -static-libgcc -static-libstdc++" \ |
| CPPFLAGS="-I$HOME/.local/$target/include" \ |
| LDFLAGS=-L$HOME/.local/$target/lib \ |
| PKG_CONFIG_LIBDIR=$HOME/.local/$target/lib/pkgconfig:/usr/$target/sys-root/mingw/lib/pkgconfig/ \ |
| PKG_CONFIG_PATH=$HOME/.local/$target/share/pkgconfig:/usr/$target/sys-root/mingw/share/pkgconfig/ \ |
| PATH=$HOME/.local/$target/bin:/usr/$target/sys-root/mingw/bin:/usr/$target/bin:$PATH \ |
| --with-directwrite=auto \ |