From: Arjen Laarhoven Date: Fri, 6 Apr 2007 23:49:17 +0000 (+0200) Subject: Makefile: iconv() on Darwin has the old interface X-Git-Tag: v1.5.1.1~13 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=63b4b7a7ed657f406eb274f88a7e2c61fd6fe958;p=git-core%2Fgit.git Makefile: iconv() on Darwin has the old interface The libiconv on Darwin uses the old iconv() interface (2nd argument is a const char **, instead of a char **). Add OLD_ICONV to the Darwin variable definitions to handle this. Signed-off-by: Arjen Laarhoven Acked-by: Brian Gernhardt Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 81dafe5ee..dcdaa02e4 100644 --- a/Makefile +++ b/Makefile @@ -356,6 +356,7 @@ endif ifeq ($(uname_S),Darwin) NEEDS_SSL_WITH_CRYPTO = YesPlease NEEDS_LIBICONV = YesPlease + OLD_ICONV = UnfortunatelyYes NO_STRLCPY = YesPlease endif ifeq ($(uname_S),SunOS)