diff options
| author | Simeon Simeonov | 2018-02-26 11:23:00 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2018-02-26 11:23:00 +0100 |
| commit | 0b3cbf57875fd692e4ba0b336fefa4bee1ed00dc (patch) | |
| tree | af916a30553c78ce9d4f2d8658656a175c5b6921 /makewin32.sh | |
Initial commit for sylpheed 3.7.0
Diffstat (limited to 'makewin32.sh')
| -rwxr-xr-x | makewin32.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/makewin32.sh b/makewin32.sh new file mode 100755 index 0000000..e65e7dd --- /dev/null +++ b/makewin32.sh | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | export PATH=$PATH:/target/bin | ||
| 4 | export LIBRARY_PATH=$LIBRARY_PATH:/target/lib:/usr/local/lib | ||
| 5 | export C_INCLUDE_PATH=$C_INCLUDE_PATH:/target/include:/usr/local/include | ||
| 6 | |||
| 7 | ( | ||
| 8 | |||
| 9 | ./configure --prefix=$HOME/dist \ | ||
| 10 | --with-localedir=share/locale \ | ||
| 11 | --with-themedir=share/icons \ | ||
| 12 | --enable-oniguruma --enable-threads \ | ||
| 13 | 'CC=gcc -mthreads -mtune=core2 -static-libgcc' CFLAGS=-O3 \ | ||
| 14 | && make \ | ||
| 15 | && make install-strip \ | ||
| 16 | && (cd plugin/attachment_tool; make install-plugin) \ | ||
| 17 | && strip $HOME/dist/lib/sylpheed/plugins/attachment_tool.dll | ||
| 18 | |||
| 19 | ) 2>&1 | tee sylpheed-build.log | ||
