libtool
[Top][All Lists]
Advanced

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

Re: Building shared libraries at configuration time


From: Ralf Wildenhues
Subject: Re: Building shared libraries at configuration time
Date: Tue, 1 Jun 2010 07:34:11 +0200
User-agent: Mutt/1.5.20 (2009-10-28)

Hello Ludovic,

Bob has already addressed the rest of this I think, so:

* Ludovic Courtès wrote on Tue, Jun 01, 2010 at 01:15:32AM CEST:
> So it seems that the right test, when compiling natively, involves
> building a shared library and an executable linked against it, and
> running that executable.  That’s where you come in.  ;-)
> 
> How can libtool’s knowledge of compilers and linkers be leveraged from
> ‘configure’ to write such a test?

Use LT_OUTPUT after the other libtool macros in configure.ac, at which
point you have a ./libtool script you can use in further hand-written
configure tests.  In case you still need this.

Cheers,
Ralf



reply via email to

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