summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-10-26 22:53:53 +0700
committerJeff King <peff@peff.net>2012-10-29 03:08:30 -0400
commitf5d942e1ede7ce5e74537d3021df9fdc179a8377 (patch)
tree4c5c9ffba07787cf635df9aa230973d82dafed36 /Makefile
parent4914c9629c046f7f5abf4109ad756040f9ebe2bf (diff)
downloadgit-f5d942e1ede7ce5e74537d3021df9fdc179a8377.tar.gz
send-pack: move core code to libgit.a
send_pack() is used by transport.c, part of libgit.a while it stays in builtin/send-pack.c. Move it to send-pack.c so that we won't get undefined reference if a program that uses libgit.a happens to pull it in. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0877f4091d..357ab3ba0b 100644
--- a/Makefile
+++ b/Makefile
@@ -798,6 +798,7 @@ LIB_OBJS += rerere.o
LIB_OBJS += resolve-undo.o
LIB_OBJS += revision.o
LIB_OBJS += run-command.o
+LIB_OBJS += send-pack.o
LIB_OBJS += sequencer.o
LIB_OBJS += server-info.o
LIB_OBJS += setup.o