File: build4mingw.sh

package info (click to toggle)
flwrap 1.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 904 kB
  • sloc: sh: 4,249; ansic: 4,078; cpp: 658; makefile: 115
file content (20 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

### Script to build a win32 installation

./configure \
  $PKGCFG \
  --host=i686-w64-mingw32.static \
  --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 clean
make -j 4

$PREFIX/bin/i686-pc-mingw32-strip src/flwrap.exe
make nsisinst
mv src/*setup*exe .