summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bb3e4f0)
raw | patch | inline | side by side (parent: bb3e4f0)
author | Stephan Beyer <s-beyer@gmx.net> | |
Fri, 18 Jul 2008 01:04:30 +0000 (03:04 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 19 Jul 2008 18:17:42 +0000 (11:17 -0700) |
Commit 5b8e6f85 introduced stubs for three functions that make no sense
for git-shell. But those stubs defined libgit.a functions a second time
so that a linker can complain.
Now git-shell is only linked to a subset of libgit.a.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
for git-shell. But those stubs defined libgit.a functions a second time
so that a linker can complain.
Now git-shell is only linked to a subset of libgit.a.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 75c4ead47a61a9ec0cf62a2f6e390dec0983385f..c01345e78476888a9e36f8354e4846e0c4c01d67 100644 (file)
--- a/Makefile
+++ b/Makefile
$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
$(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
+git-shell$X: compat/strlcpy.o abspath.o ctype.o exec_cmd.o quote.o strbuf.o usage.o wrapper.o shell.o
+ $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^)
+
$(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H)
$(patsubst git-%$X,%.o,$(PROGRAMS)): $(LIB_H) $(wildcard */*.h)
builtin-revert.o wt-status.o: wt-status.h