This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: bug 285/distinguished install targets for ltlibraries
- From: Alexandre Duret-Lutz <adl at src dot lip6 dot fr>
- To: Harlan Stenn <hstenn at cisco dot com>
- Cc: automake at gnu dot org
- Date: Wed, 7 Jan 2004 09:59:35 +0100
- Subject: Re: bug 285/distinguished install targets for ltlibraries
- References: <12554.1073461961@cisco.com>
On Tue, Jan 06, 2004 at 11:52:41PM -0800, Harlan Stenn wrote:
> I'm looking for a fast fix to this problem, as it is the current sticking
> point on a bunch of other changes I need to implement for a project.
>
> I don't know if I'll have the time to implement the potential fixes
> described in the bug report at this time, so I'm wondering if there may be
> another way to do it for now.
>
> Instead of:
>
> subdir/Makefile.am:
> if FOO
> lib_LTLIBRARIES = libfoo.la
> else
> bootlib_LTLIBRARIES = libfoo.la
> endif
I would expect the following to work.
if FOO
foodir = $(libdir)
else
foodir = $(bootlibdir)
endif
foo_LTLIBRARIES = libfoo.la