This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: FYI: same library installed several times in same directory(PR/350)
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: Harlan Stenn <Harlan dot Stenn at pfcs dot com>
- Cc: automake at gnu dot org
- Date: Tue, 22 Oct 2002 22:41:13 +0200
- Subject: Re: FYI: same library installed several times in same directory(PR/350)
- References: <5105.1035252946@puss.pfcs.com>
>>> "Harlan" == Harlan Stenn <Harlan.Stenn@pfcs.com> writes:
Harlan> Just to ask, what is the problem if the same library is
Harlan> installed in two different places?
>>
>> Automake produces only one rule to link the library, and
>> therefore doesn't know how to set `-rpath' correctly. See
>> PR/285.
Harlan> So what is the problem with:
Harlan> if COND1
Harlan> lib_LTLIBRARIES = liba.la
Harlan> else
Harlan> if COND2
Harlan> pkglib_LTLIBRARIES = liba.la
Harlan> endif
Harlan> endif
Sorry I didn't answered that explicitly: that's exactly the same
problem.
Fundamentally there is nothing wrong with either constructs.
The issue is technical: Automake produces only one link rule,
and this rule needs to know the directory where the library will
be installed.
PR/285 suggest a fix which should be fairly easy to do; but I
don't have the time to work on Automake these days.
Harlan> I'd hate to have to hack around this problem using
Harlan> something like:
[...]
Harlan> (assuming I can get this hack to work).
I don't know, sorry.
--
Alexandre Duret-Lutz