Re: [PATCH] Fix linking for not-so-clever linkers.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 10, 2006, 21:48 UTC
- Message-ID
- <7vlkr19lmr.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0607101429460.5623@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 11 quoted lines
> On Mon, 10 Jul 2006, Junio C Hamano wrote: >> >> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: >> >> > On one of my systems, the linker is not intelligent enough to link with >> > pager.o (in libgit.a) when only the variable pager_in_use is needed. The >> > consequence is that the linker complains about an undefined >> > variable. >> >> I do not understand this quite yet -- which executable is your >> linker building when it does this?
Show 5 quoted lines
>> Maybe we need ranlib? > > Shouldn't be needed, since we use "$(AR) rcs",... > ... After all, that was the > whole reason environment.c ended up existing in the first place..
Understood and agreed to everything you said.
But I still wonder why/how it happens in Johannes's environment...