Statistics
| Revision:

root / makewin32.sh

History | View | Annotate | Download (556 Bytes)

1 621 hiro
#!/bin/sh
2
3 3394 hiro
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 2353 hiro
7 3394 hiro
(
8
9 3286 hiro
./configure --prefix=$HOME/dist \
10 3383 hiro
  --with-localedir=share/locale \
11 3286 hiro
  --with-themedir=share/icons \
12 2919 hiro
  --enable-oniguruma --enable-threads \
13 3390 hiro
  'CC=gcc -mthreads -mtune=core2' CFLAGS=-O3 \
14 622 hiro
  && make \
15 2784 hiro
  && make install-strip \
16
  && (cd plugin/attachment_tool; make install-plugin) \
17
  && strip $HOME/dist/lib/sylpheed/plugins/attachment_tool.dll
18 3394 hiro
19
) 2>&1 | tee sylpheed-build.log