mirror of
https://git.zx2c4.com/cgit
synced 2024-11-26 10: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)
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
libgit:
|
libgit:
|
||||||
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) libgit.a
|
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 libgit.a
|
||||||
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) xdiff/lib.a
|
$(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 xdiff/lib.a
|
||||||
|
|
||||||
test: all
|
test: all
|
||||||
$(QUIET_SUBDIR0)tests $(QUIET_SUBDIR1) all
|
$(QUIET_SUBDIR0)tests $(QUIET_SUBDIR1) all
|
||||||
|
Loading…
Reference in New Issue
Block a user