Re: Linking against static libraries in Windows (MSYS)

2016-06-27 Thread Bob Friesenhahn
On Mon, 27 Jun 2016, Bob Friesenhahn wrote: The good news is that libtool will already automatically link dependency libraries when you build something which depends on 'A' and the .la file for 'A' is present. In other words, libtool should handle the problem automatically as long as you don

Re: Linking against static libraries in Windows (MSYS)

2016-06-27 Thread Bob Friesenhahn
On Mon, 27 Jun 2016, Alex wrote: $ ./configure --disable-shared --enable-static --prefix=/usr $ make && make install But when I build *A* afterwards the following warning appears: *** Warning: This system can not link to static lib archive /usr/lib/ libogg.la. *** I have the capability to make

Linking against static libraries in Windows (MSYS)

2016-06-27 Thread Alex
Hello, I wonder if this would be a bug or something directly unsupported. I'm building a shared library *A* on Windows using MSYS (bash, gcc, etc.). *A* depends on *B*, so it needs to be built first and as long as both are built to be shared libraries everything goes well. However I'd like to hav