flmsg/scripts/buildmxe.sh
David Freese 599fff8250 Version 4.0.17
* Maintenance release
2020-09-08 17:33:10 -05:00

19 lines
384 B
Bash
Executable file

#!/bin/sh
### Script to build a win32 installation
make clean
./configure \
$PKGCFG \
$CROSSCFG \
--with-ptw32=$PREFIX/i686-w64-mingw32.static \
--enable-static \
PTW32_LIBS="-lpthread -lpcreposix -lpcre" \
FLTK_CONFIG=$PREFIX/bin/i686-w64-mingw32.static-fltk-config
make -j 4
$PREFIX/bin/i686-w64-mingw32.static-strip src/flmsg.exe
make nsisinst
mv src/*setup*exe .