[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to link with libtool?

From: Ralf Wildenhues
Subject: Re: how to link with libtool?
Date: Tue, 3 Feb 2009 07:40:55 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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 linker so that the linking doesn't fail? Having
> AC_PROG_LIBTOOL in the is not enough...
> What about having a AC_CHECK_LTLIB macro? 
> This would be good to check for libtool libs first and for pkg-config
> configuration only if someone has taken the .la files away (some distros
> do that)

Yes, it may be a good idea if somebody wrote this.
It should probably depend on LT_OUTPUT.

OTOH, the havelib module from gnulib already provides quite a bit of
functionality in this area.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]