[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conditionally build a shared or convenience library
From: |
Ralf Wildenhues |
Subject: |
Re: Conditionally build a shared or convenience library |
Date: |
Thu, 12 May 2005 09:43:11 +0200 |
User-agent: |
Mutt/1.4.1i |
I should have looked right away, sorry.
* Ralf Wildenhues wrote on Thu, May 12, 2005 at 09:35:35AM CEST:
> * Mike Heffner wrote on Wed, May 11, 2005 at 10:39:13PM CEST:
> >
> > if FOO_STANDALONE
> > lib_LTLIBRARIES+=libfoo.la
> > else
> > noinst_LTLIBRARIES+=libfoo.la
> > endif
>
> Hmm, this works over here.
Quoting automake/NEWS:
| New in 1.9:
| [...]
| * Change to Libtool support:
| [...]
| - Automake is now able to handle setups where a libtool library is
| conditionally installed in different directories, as in
|
| if COND
| lib_LTLIBRARIES = liba.la
| else
| pkglib_LTLIBRARIES = liba.la
| endif
| liba_la_SOURCES = ...
So please consider using Automake 1.9.x.
Regards,
Ralf