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 <arjen@yaph.org> Acked-by: Brian Gernhardt <benji@silverinsanity.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Arjen Laarhoven committed
Apr 7, 2007 at 01:49 UTC
63b4b7a7ed657f406eb274f88a7e2c61fd6fe958
1 file changed
+1
Makefile
+1
@@ -356,6 +356,7 @@ endif
356
ifeq ($(uname_S),Darwin)
357
NEEDS_SSL_WITH_CRYPTO = YesPlease
358
NEEDS_LIBICONV = YesPlease
359
+ OLD_ICONV = UnfortunatelyYes
360
NO_STRLCPY = YesPlease
361
endif
362
ifeq ($(uname_S),SunOS)