git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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?

Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 2 of 3 in “Include -lz when linking git-daemon.”
  1. 2/3 Include -lz when linking git-daemon.Shawn O. Pearce, Nov 5, 2006
  2. Junio C HamanoNov 5, 2006
  3. 2/2 Remove SIMPLE_PROGRAMS and make git-daemon a normal program.Shawn O. Pearce, Nov 5, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.