how to link with libtool?

2009-02-02 Thread Matěj Týč
Hello, I have a library that has its .la file in the right place. The question is: What should I do in the autotools setup so that libtool takes over the compilation, discovers the .la file and passes additional options to the linker so that the linking doesn't fail? Having AC_PROG_LIBTOOL in the c

library versioning

2009-02-02 Thread Matěj Týč
Hello, libtool has a nice way how to version libraries. However, how do I tell to the linker that my app has to link with the library that supports interface x? This seems as a very trivial question, but I haven't found the answer in the manual, is that possible? Regards, Matej _

Re: library versioning

2009-02-02 Thread Ralf Wildenhues
Hello Matěj, * Matěj Týč wrote on Mon, Feb 02, 2009 at 09:37:20PM CET: > libtool has a nice way how to version libraries. > However, how do I tell to the linker that my app has to link with the > library that supports interface x? This is not possible, in general. It has nothing much to do with

Re: how to link with libtool?

2009-02-02 Thread Ralf Wildenhues
Hello Matěj, * Matěj Týč wrote on Mon, Feb 02, 2009 at 09:34:49PM CET: > I have a library that has its .la file in the right place. > The question is: What should I do in the autotools setup so that libtool > takes over the compilation, discovers the .la file and passes additional > options to the