[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug 285/distinguished install targets for ltlibraries
From: |
Alexandre Duret-Lutz |
Subject: |
Re: bug 285/distinguished install targets for ltlibraries |
Date: |
Wed, 7 Jan 2004 09:59:35 +0100 |
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