dl-fldigi/scripts/buildmxe.sh

25 wiersze
626 B
Bash
Executable File

#!/bin/bash
#=======================================================================
# make the mxe-mingw32 executable
./configure \
$PKGCFG \
$CROSSCFG \
--without-asciidoc \
--with-ptw32=$PREFIX/i686-w64-mingw32.static \
--with-libiconv-prefix=$PREFIX/iconv \
--enable-static \
--with-libintl-prefix=$PREFIX/gettext \
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/fldigi.exe
$PREFIX/bin/i686-w64-mingw32.static-strip src/flarq.exe
make nsisinst
mv src/*setup.exe .
ls -l *setup.exe