Gentoo Archives: gentoo-science

From: Christopher Schwan <cschwan@××××××××××××××××××.de>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] la files for sci-libs/mpir
Date: Sun, 14 Aug 2011 08:54:00
Message-Id: 8262165.mE4EsuFPRr@cschwan-laptop
In Reply to: [gentoo-science] la files for sci-libs/mpir by Thomas Kahle
1 On Saturday 13 August 2011 23:40:58 you wrote:
2 > Hi science devs,
3 >
4 > An amd64 arch tester asked me to 'remove the .la files' from mpir. I
5 > must admit that I still don't see through this. Not all .la files are
6 > evil, or are they? Should the ones coming with mpir not be installed?
7 >
8 > Thanks for any hints,
9 > Thomas
10
11 Hi Thomas,
12
13 most of the time they are just unnecessary - if you do not install both shared
14 and static libraries I suggest to drop them. I am not an expert, but Flameeyes
15 has some enlightening post on his blog, e.g.
16
17 http://blog.flameeyes.eu/2008/04/14/what-about-those-la-files
18
19 I suggest you simply use the autotool-utils.eclass (mpir uses autotools,
20 right?) which take care of them. The eclass' manpage provides a nice example
21 how to achieve this behavior (note the use of "static-libs" USE-flag).
22
23 Cheers,
24 Christopher