flmsg/scripts/builddist.sh
Robert Cunnings c125c9e720 MXE build
* removed errant usr/ from build script
2016-07-04 08:23:05 -05:00

24 lines
432 B
Bash
Executable file

autoreconf
make clean
./configure \
$PKGCFG \
$CROSSCFG \
--with-ptw32=$PREFIX/i686-w64-mingw32.static \
--enable-static \
PTW32_LIBS="-lpthread -lpcreposix -lpcre -lregex" \
FLTK_CONFIG=$PREFIX/bin/i686-w64-mingw32.static-fltk-config \
make
$PREFIX/bin/i686-w64-mingw32.static-strip src/flmsg.exe
make nsisinst
mv src/*setup*exe .
make clean
# build the distribution tarball
./configure
make distcheck
make clean