Skip to content

Commit 2170422

Browse files
weissgitster
authored andcommitted
Link against libiconv on IRIX
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ß <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 21e403a commit 2170422

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,7 @@ ifeq ($(uname_S),IRIX)
886886
SNPRINTF_RETURNS_BOGUS = YesPlease
887887
SHELL_PATH = /usr/gnu/bin/bash
888888
NEEDS_LIBGEN = YesPlease
889+
NEEDS_LIBICONV = YesPlease
889890
endif
890891
ifeq ($(uname_S),IRIX64)
891892
NO_SETENV=YesPlease
@@ -904,6 +905,7 @@ ifeq ($(uname_S),IRIX64)
904905
SNPRINTF_RETURNS_BOGUS = YesPlease
905906
SHELL_PATH=/usr/gnu/bin/bash
906907
NEEDS_LIBGEN = YesPlease
908+
NEEDS_LIBICONV = YesPlease
907909
endif
908910
ifeq ($(uname_S),HP-UX)
909911
NO_IPV6=YesPlease

0 commit comments

Comments
 (0)