Gentoo Archives: gentoo-alt

From: Alan Hourihane <alanh@×××××××××××.uk>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] readline ebuild problem
Date: Tue, 25 Nov 2008 17:19:15
Message-Id: 1227633552.13985.455.camel@jetpack.demon.co.uk
In Reply to: Re: [gentoo-alt] readline ebuild problem by Fabian Groffen
1 On Tue, 2008-11-25 at 18:15 +0100, Fabian Groffen wrote:
2 > On 25-11-2008 17:12:04 +0000, Alan Hourihane wrote:
3 > > But I don't see why static libraries shouldn't be moved out of /lib
4 > > anyway, they should always be in /usr/lib.
5 > >
6 > > So why don't we just remove the
7 > >
8 > > [[ $(get_libname) != .a ]] &&
9 > >
10 > > and leave the mv there ??
11 >
12 > I think gentoo-x86 thinks otherwise. GCC would think it had to link
13 > against the static libraries if it encountered them in /usr/lib next to
14 > the dynamic ones. There's a comment on that somewhere.
15
16 Eh??
17
18 Linking to static libraries requires "gcc -static" to link against
19 static libraries. It defaults to shared, then static without.
20
21 Alan.

Replies

Subject Author
Re: [gentoo-alt] readline ebuild problem Fabian Groffen <grobian@g.o>