Code

Link against libiconv on IRIX
authorHolger Weiß <holger@zedat.fu-berlin.de>
Mon, 29 Mar 2010 10:57:48 +0000 (12:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 31 Mar 2010 21:22:06 +0000 (14:22 -0700)
On IRIX, "-liconv" must be added to the linker command line in order to
get iconv(3) support; set the according Makefile variable appropriately.

Signed-off-by: Holger Weiß <holger@zedat.fu-berlin.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 98372ebbfcabc0b96d33bdcde045ff73de971e28..b07cd8a68146047ed3e7a5a17a420ad0ff5576f8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -886,6 +886,7 @@ ifeq ($(uname_S),IRIX)
        SNPRINTF_RETURNS_BOGUS = YesPlease
        SHELL_PATH = /usr/gnu/bin/bash
        NEEDS_LIBGEN = YesPlease
+       NEEDS_LIBICONV = YesPlease
 endif
 ifeq ($(uname_S),IRIX64)
        NO_SETENV=YesPlease
@@ -904,6 +905,7 @@ ifeq ($(uname_S),IRIX64)
        SNPRINTF_RETURNS_BOGUS = YesPlease
        SHELL_PATH=/usr/gnu/bin/bash
        NEEDS_LIBGEN = YesPlease
+       NEEDS_LIBICONV = YesPlease
 endif
 ifeq ($(uname_S),HP-UX)
        NO_IPV6=YesPlease