http-fetch: Fix Makefile dependancies
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>
Mike Ralphson committed
Aug 6, 2009 at 14:14 UTC
ae209bd34914c05d141030b3affcf276f07e2490
1 file changed
+1
-1
Makefile
+1
-1
@@ -1487,7 +1487,7 @@ http.o http-walker.o http-push.o: http.h
1487
1488
http.o http-walker.o: $(LIB_H)
1489
1490
-git-http-fetch$X: revision.o http.o http-push.o $(GITLIBS)
1490
+git-http-fetch$X: revision.o http.o http-walker.o http-fetch.o $(GITLIBS)
1491
$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
1492
$(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
1493
git-http-push$X: revision.o http.o http-push.o $(GITLIBS)