Skip to content

Commit 63b4b7a

Browse files
ArjenLJunio C Hamano
authored andcommitted
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 <[email protected]> Acked-by: Brian Gernhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d93f7c1 commit 63b4b7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ endif
356356
ifeq ($(uname_S),Darwin)
357357
NEEDS_SSL_WITH_CRYPTO = YesPlease
358358
NEEDS_LIBICONV = YesPlease
359+
OLD_ICONV = UnfortunatelyYes
359360
NO_STRLCPY = YesPlease
360361
endif
361362
ifeq ($(uname_S),SunOS)

0 commit comments

Comments
 (0)