Re: libtool insists on using shared library

2007-01-18 Thread Tim Dijkstra
On Thu, 18 Jan 2007 13:24:13 +0100 Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Let me guess: /usr/lib/libglib-2.0.la exists but sets old_library to > empty? If yes: packaging bug (the .la file tells libtool that no static > library exists), Yes that was it! I'll report a bug to the packagers

Re: libtool insists on using shared library

2007-01-18 Thread Ralf Wildenhues
Hello Tom, * Tim Dijkstra wrote on Thu, Jan 18, 2007 at 12:48:19PM CET: > > ../libtool --tag=CC --mode=link gcc -g -O2 -o splashy -all-static > splashy-splashy_main.o -lglib-2.0 > gcc -g -O2 -o splashy -static splashy-splashy_main.o > /usr/lib/libglib-2.0.so -lrt > > But tha

libtool insists on using shared library

2007-01-18 Thread Tim Dijkstra
Hi, [ I honestly did some googling on this, but didn't find anyting relevant. ] I have the following problem with libtool: If I ask it to build a static binary linked with glib-2.0: ../libtool --tag=CC --mode=link gcc -g -O2 -o splashy -all-static splashy-splashy_main.o -lglib-2.0