Re: [PATCH 2/3] Include -lz when linking git-daemon.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 5, 2006, 07:14 UTC
- Message-ID
- <7vveluuzzi.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061105053615.GB4193@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
> 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.
We once tried to stay away from linking sha1_file into daemon, but it appears we were not successful.
Honestly speaking, I think SIMPLE_PROGRAMS outlived its usefulness. How about moving git-daemon to PROGRAMS list and get rid of SIMPLE_ stuff from the Makefile?