Code

Makefile: introduce CHARSET_LIB to link with -lcharset
authorДилян Палаузов <dilyan.palauzov@aegee.org>
Sun, 12 Feb 2012 16:23:36 +0000 (17:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Feb 2012 08:11:01 +0000 (00:11 -0800)
On some systems, the function locale_charset() may not be exported from
libiconv but is available from libcharset, and we need -lcharset when
linking.

Introduce a make variable CHARSET_LIB that can be set to -lcharsetlib
on such systems.  Also autodetect this in the configure script by first
looking for the symbol in libiconv, and then libcharset.

Signed-off-by: Дилян Палаузов <dilyan.palauzov@aegee.org>

No differences found