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

[PATCH 2/2] http-fetch: Fix Makefile dependancies

From
Mike Ralphson <mike@abacus.co.uk>
Date
Aug 6, 2009, 13:14 UTC
Message-ID
<3b0689fabea4a0c7b2327bb2a31e2b5fba2ddc99.1249563483.git.mike@abacus.co.uk>
In-Reply-To
<f4271a23eed2a6bc3774fb8e21563e74f9b1fb19.1249563483.git.mike@abacus.co.uk>

Specify git-http-fetch's dependancies explicitly rather than inheriting from git-http-push, as that may not be built if the libcurl version is too old or NO_EXPAT is defined

Signed-off-by: Mike Ralphson <mike@abacus.co.uk>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 97d904b..366b729 100644
--- a/Makefile
+++ b/Makefile
@@ -1502,7 +1502,7 @@ http.o http-walker.o http-push.o: http.h
 
 http.o http-walker.o: $(LIB_H)
 
-git-http-fetch$X: revision.o http.o http-push.o $(GITLIBS)
+git-http-fetch$X: revision.o http.o http-walker.o http-fetch.o $(GITLIBS)
 	$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
 		$(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
 git-http-push$X: revision.o http.o http-push.o $(GITLIBS)
-- 
1.6.4.115.g33d49.dirty
Previous: Mike Ralphson
Message 2 of 2 in “Add transport native helper executables to .gitignore”
  1. 1/2 Add transport native helper executables to .gitignoreMike Ralphson, Aug 6, 2009
  2. 2/2 http-fetch: Fix Makefile dependanciesMike Ralphson, Aug 6, 2009

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.