On Fri, 27 Feb 2009, LRN wrote:
OK, maybe it's a stupid question, but i have to ask anyway. MinGW ships some static .a libraries. How do i link these to shared .dll libraries? It seems that libtool always performs a check (filemagic in my case) on each -lname argument, and to pass that check the library has to be "x86 archive import" or "x86 DLL", but not "x86 archive static".
You don't since then chaos would result due to duplicate symbols. Apply these libraries when linking the dependent application and then all will be well. If you don't know in advance if the libraries are static or DLLs, then pass the full list of libraries in all cases, and then all will be well.
Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool