Re: [PATCH] Link git-shell only to a subset of libgit.a
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- Jul 18, 2008, 06:03 UTC
- Message-ID
- <20080718060321.GJ2925@dpotapov.dyndns.org>
- In-Reply-To
- <1216343070-20237-1-git-send-email-s-beyer@gmx.net>
On Fri, Jul 18, 2008 at 03:04:30AM +0200, Stephan Beyer wrote:
Show 7 quoted lines
> Commit 5b8e6f85 introduced stubs for three functions that make no sense > for git-shell. But those stubs defined libgit.a functions a second time > so that a linker can complain. > > Now git-shell is only linked to a subset of libgit.a. > > Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
I agree, it is probably better to specify explicitly what files to link for git-shell if we want to keep it small and avoid the problem with some linkers.
Dmitry