Ok - I think this has all of the bits working necessary to compile WvStreams
[wvstreams.git] / configure-mingw32
blob85b42d85ecc423bcea6532b56e20a8282affe193
1 #!/bin/bash
2 PORTS=$PWD/../wvports
3 ./configure \
4 --build=$(./config.guess) \
5 --host=i586-mingw32msvc \
6 --enable-exceptions \
7 CPPFLAGS="-mno-cygwin \
8 -I$PORTS/zlib/build/zlib \
9 -I$PORTS/openssl/build/openssl/include $XCPPFLAGS \
10 -I$PORTS/win32api/build/w32api/include" \
11 LDFLAGS="\
12 -L$PORTS/zlib/build/zlib \
13 -L$PORTS/openssl/build/openssl \
14 -L$PORTS/win32api/build/w32api/lib" \
15 LIBS="-lwsock32 -lgdi32" \