diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-11-06 06:47:34 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-10 11:07:51 -0800 |
commit | b0613ce0f9ef3fd111f8c75b84ddd12f9f04fc87 (patch) | |
tree | 9e16b5073782a6058380afc46d59479bea93baf8 /Makefile | |
parent | 6bab74e7fb89b7427e5ef24b48a07fe9450c40e7 (diff) | |
download | git-b0613ce0f9ef3fd111f8c75b84ddd12f9f04fc87.tar.gz git-b0613ce0f9ef3fd111f8c75b84ddd12f9f04fc87.tar.xz |
wrapper: give zlib wrappers their own translation unit
Programs using xmalloc() but not git_inflate() require -lz on the
linker command line because git_inflate() is in the same translation
unit as xmalloc().
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -662,6 +662,7 @@ LIB_OBJS += write_or_die.o LIB_OBJS += ws.o LIB_OBJS += wt-status.o LIB_OBJS += xdiff-interface.o +LIB_OBJS += zlib.o BUILTIN_OBJS += builtin/add.o BUILTIN_OBJS += builtin/annotate.o |