aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-10-26 22:53:55 +0700
committerJeff King <peff@peff.net>2012-10-29 03:40:29 -0400
commit745f7a8cacae55df3e00507344d8db2a31eb57e8 (patch)
treec5601a91daa7ca3a3b0e7feb01565481b68cbffc /Makefile
parentf8eb3036d0cc1838cc6865884b1648ff50a4f804 (diff)
downloadgit-745f7a8cacae55df3e00507344d8db2a31eb57e8.tar.gz
git-745f7a8cacae55df3e00507344d8db2a31eb57e8.tar.xz
fetch-pack: move core code to libgit.a
fetch_pack() is used by transport.c, part of libgit.a while it stays in builtin/fetch-pack.c. Move it to fetch-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 357ab3ba0..53a766e28 100644
--- a/Makefile
+++ b/Makefile
@@ -746,6 +746,7 @@ LIB_OBJS += editor.o
LIB_OBJS += entry.o
LIB_OBJS += environment.o
LIB_OBJS += exec_cmd.o
+LIB_OBJS += fetch-pack.o
LIB_OBJS += fsck.o
LIB_OBJS += gettext.o
LIB_OBJS += gpg-interface.o