scripts/build4mingw.sh
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | ### Script to build a win32 installation |
| 4 | |
| 5 | ./configure \ |
| 6 | $PKGCFG \ |
| 7 | $CROSSCFG \ |
| 8 | --with-ptw32=/opt/mxe/usr/i686-pc-mingw32 \ |
| 9 | PTW32_LIBS="-lpthread -lpcreposix -lpcre" \ |
| 10 | FLTK_CONFIG=$PREFIX/bin/i686-pc-mingw32-fltk-config |
| 11 | |
| 12 | make |
| 13 | |
| 14 | $PREFIX/bin/i686-pc-mingw32-strip src/comptty.exe |
| 15 | make nsisinst |
| 16 | mv src/*setup*exe . |
| 17 | |
| 18 |