Code

http-fetch: Fix Makefile dependancies
authorMike Ralphson <mike@abacus.co.uk>
Thu, 6 Aug 2009 13:14:45 +0000 (14:14 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Aug 2009 20:39:35 +0000 (13:39 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 0ebf9dd95c5f1d96b01a3757665088f149e5684f..2900057fbf9837ca67c02c0fe63e75d75d56d5eb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1487,7 +1487,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)