On Fri, Jul 11, 2008 at 08:23:04AM +0100, Paul Holmes-Higgin <[EMAIL 
PROTECTED]> wrote:
> ... I couldn't find any recent posts on this, so apologies if I missed  
> them...
> 
> Is there any way to get static builds on Linux or OS X?  Primarily for  
> pdf2swf.

I use the following script for that:

./configure --enable-optimizations
sed -i "s/L=gcc/L=gcc -static/g"  Makefile.common
sed -i "s/L=g++/L=g++ -static/g"  Makefile.common
sed -i "s/-lz//g"  Makefile.common
sed -i "s/-lfontconfig/-lfontconfig -lxml2 -lpthread/g"  Makefile.common
sed -i "s/-lfreetype/-lfreetype -lz/g"  Makefile.common
make -j2

Greetings

Matthias




Reply via email to