Martijn van Beurden wrote:

> I was running some tests cross-compiling and natively compiling for
> windows with mingw and found something strange: when I try to built flac
> statically linked and libogg is available as a dll, flac will use the
> dll instead of linking statically. If I built libogg with
> --disable-shared, flac will use the static library. This is the case for
> building natively as well as when cross-compiling. I've verified this
> with the dependency walker.

libtool might prefer dynamic libraries over static ones if both are  
available, but you can force it to create a static executable via  
"-all-static":
   make LDFLAGS="-all-static"

Ulrich

_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to