aboutsummaryrefslogtreecommitdiff
path: root/makewin32.sh
blob: 5dc6cadd0be25555cb8ef86808e8105ecbed16c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 \
  --with-themedir=share/icons \
  --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