aboutsummaryrefslogtreecommitdiff
path: root/makewin32.sh
blob: efa2eb0b60e4605c66fb43d07abef196845996b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/lib
export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/local/include

./configure --prefix=$HOME/dist --with-localedir=lib/locale \
  --enable-oniguruma --enable-threads \
  'CC=gcc -mtune=pentium3' CFLAGS=-O3 \
  && make \
  && make install-strip \
  && (cd plugin/attachment_tool; make install-plugin) \
  && strip $HOME/dist/lib/sylpheed/plugins/attachment_tool.dll