[PATCH 2/3] Include -lz when linking git-daemon.
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Nov 5, 2006, 05:36 UTC
- Message-ID
- <20061105053615.GB4193@spearce.org>
Some platforms (Solaris in particular) appear to require -lz as part of the link line for git-daemon, due to it linking against sha1_file.o and that module requiring inflate/deflate support.
This wasn't made platform-specific in the Makefile as the existing use of -lz in every other (non git-daemon) application is also not platform-specific.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org> --- Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile index 1cc9f58..9f10054 100644 --- a/Makefile +++ b/Makefile @@ -317,6 +317,7 @@ BUILTIN_OBJS = \ GITLIBS = $(LIB_FILE) $(XDIFF_LIB) EXTLIBS = -lz +SIMPLE_LIB = -lz # # Platform specific tweaks
-- 1.4.3.3.g9621