| author | Jonathan Nieder <jrnieder@gmail.com> | |
| Sat, 6 Nov 2010 11:47:34 +0000 (06:47 -0500) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Wed, 10 Nov 2010 19:07:51 +0000 (11:07 -0800) | ||
| commit | b0613ce0f9ef3fd111f8c75b84ddd12f9f04fc87 | |
| tree | 9e16b5073782a6058380afc46d59479bea93baf8 | tree | snapshot |
| parent | 6bab74e7fb89b7427e5ef24b48a07fe9450c40e7 | commit | diff |
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>
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>
| Makefile | diff | blob | history | |
| wrapper.c | diff | blob | history | |
| zlib.c | [new file with mode: 0644] | blob |