Statistics
| Revision:

root / makewin32.sh

History | View | Annotate | Download (556 Bytes)

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' 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