Skip to content

Commit

Permalink
Merge branch 'dm/configure-iconv-locale-charset'
Browse files Browse the repository at this point in the history
* dm/configure-iconv-locale-charset:
  configure.ac: link with -liconv for locale_charset()
  • Loading branch information
gitster committed Mar 25, 2014
2 parents 46c0f91 + 62fb6d0 commit 2f2db83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ GIT_CONF_SUBST([HAVE_STRINGS_H])
# and libcharset does
CHARSET_LIB=
AC_CHECK_LIB([iconv], [locale_charset],
[],
[CHARSET_LIB=-liconv],
[AC_CHECK_LIB([charset], [locale_charset],
[CHARSET_LIB=-lcharset])])
GIT_CONF_SUBST([CHARSET_LIB])
Expand Down

0 comments on commit 2f2db83

Please sign in to comment.