[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool relink problem
From: |
Pippijn van Steenhoven |
Subject: |
Re: libtool relink problem |
Date: |
Mon, 20 Jun 2011 13:25:07 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, Jun 19, 2011 at 03:40:06PM +0530, Santhosh Thottingal wrote:
> Hi,
> I am facing a problem with libtool. While installing it complains a
> relink required and while doing so it tries to link against the
> shared library instead of static library.
> Well, the problem is better explained in this thread
> http://sourceware.org/ml/automake/2004-07/msg00127.html with example
> code.
>
> I am facing exactly the same problem.
>
> I saw a similar problem in this thread also
> http://www.mail-archive.com/address@hidden/msg00782.html
>
> Is there a solution available for this?
>
>
> Thanks
> Santhosh
>
Hi Santhosh,
I suggest writing your *_LTLIBRARIES with a comment in front, perhaps
with #> to differ between disabled and enabled libraries. Then using
grep(1) to extract the names and the same tools to extract the
dependencies. You can then use tsort(1) to topologically sort the
libraries and write the actual ${dir}_LTLIBRARIES to an included .am
file. Semantically, this is what I do. In reality, I wrote a preprocessor
for automake that does this, but I don't suggest using it, as it's beta
and very much tailored to my needs.
Cheers,
--
Pippijn van Steenhoven
signature.asc
Description: Digital signature