Skip to content

Commit 2f2db83

Browse files
committed
Merge branch 'dm/configure-iconv-locale-charset'
* dm/configure-iconv-locale-charset: configure.ac: link with -liconv for locale_charset()
2 parents 46c0f91 + 62fb6d0 commit 2f2db83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ GIT_CONF_SUBST([HAVE_STRINGS_H])
890890
# and libcharset does
891891
CHARSET_LIB=
892892
AC_CHECK_LIB([iconv], [locale_charset],
893-
[],
893+
[CHARSET_LIB=-liconv],
894894
[AC_CHECK_LIB([charset], [locale_charset],
895895
[CHARSET_LIB=-lcharset])])
896896
GIT_CONF_SUBST([CHARSET_LIB])

0 commit comments

Comments
 (0)