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 that fails;  /usr/lib/libglib-2.0.so obviously is a dynamic library.
> 
> /usr/lib/libglib-2.0.a is present on my system, and if I
> replace /usr/lib/libglib-2.0.so with -lglib-2.0 it works as expected.

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), if no, please rerun the libtool link command with
--debug added, post the output (packed), and also post
  ../libtool --config

output.

Thanks,
Ralf


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to