Makefile: iconv() on Darwin has the old interface
authorArjen Laarhoven <arjen@yaph.org>
Fri, 6 Apr 2007 23:49:17 +0000 (01:49 +0200)
committerJunio C Hamano <junkio@cox.net>
Sat, 7 Apr 2007 04:29:15 +0000 (21:29 -0700)
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 <arjen@yaph.org>
Acked-by: Brian Gernhardt <benji@silverinsanity.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
index 81dafe5ee3308cb3e75986740d6d67f1364f6995..dcdaa02e473710810993ea8d08de444ec4332620 100644 (file)
--- 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)