diff options
author | Dmitry Marakasov <amdmi3@amdmi3.ru> | 2014-03-11 22:35:29 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-11 13:33:15 -0700 |
commit | 62fb6d03dab0f6d93b1e1fcaef312bf6e2718f17 (patch) | |
tree | 9ed606971dc178589b291da384547f0c0a7a2349 /patch-ids.c | |
parent | 2f93541d88fadd1ff5307d81c2c8921ee3eea058 (diff) | |
download | git-62fb6d03dab0f6d93b1e1fcaef312bf6e2718f17.tar.gz |
configure.ac: link with -liconv for locale_charset()dm/configure-iconv-locale-charset
On e.g. FreeBSD 10.x, the following situation is common:
- there's iconv implementation in libc, which has no locale_charset()
function
- there's GNU libiconv installed from Ports Collection
Git build process
- detects that iconv is in libc and thus -liconv is not needed for it
- detects locale_charset in -liconv, but for some reason doesn't add it
to CHARSET_LIB (as it would do with -lcharset if locale_charset() was
found there instead of -liconv)
- git doesn't build due to unresolved external locale_charset()
Fix this by adding -liconv to CHARSET_LIB if locale_charset() is
detected in this library.
Signed-off-by: Dmitry Marakasov <amdmi3@amdmi3.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'patch-ids.c')
0 files changed, 0 insertions, 0 deletions