[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building shared libraries at configuration time
From: |
Ludovic Courtès |
Subject: |
Re: Building shared libraries at configuration time |
Date: |
Tue, 01 Jun 2010 10:51:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi Ralf,
Ralf Wildenhues <address@hidden> writes:
> * 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.
OK, thanks for the hint!
Ludo’.