mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 08:28:42 +00:00
Makefile: avoid libcurl when building git
We don't need support for fetching/pushing in libgit.a, hence we don't need to link with libcurl. Noticed-by: Robin Redeker <elmex@ta-sa.org> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
f3c99cf1ce
commit
c63aaff2ad
4
Makefile
4
Makefile
@ -128,8 +128,8 @@ cgit.o: VERSION
|
||||
-include $(OBJECTS:.o=.d)
|
||||
|
||||
libgit:
|
||||
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) libgit.a
|
||||
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) xdiff/lib.a
|
||||
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 libgit.a
|
||||
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 xdiff/lib.a
|
||||
|
||||
test: all
|
||||
$(QUIET_SUBDIR0)tests $(QUIET_SUBDIR1) all
|
||||
|
Loading…
Reference in New Issue
Block a user