From 63b4b7a7ed657f406eb274f88a7e2c61fd6fe958 Mon Sep 17 00:00:00 2001 From: Arjen Laarhoven Date: Sat, 7 Apr 2007 01:49:17 +0200 Subject: [PATCH] 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 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 81dafe5ee3..dcdaa02e47 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)