author | Дилян Палаузов <dilyan.palauzov@aegee.org> | |
Sun, 12 Feb 2012 16:23:36 +0000 (17:23 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 13 Feb 2012 08:11:01 +0000 (00:11 -0800) | ||
commit | b5225286b226759262c0637058528af03226fba6 | |
tree | 527324aee510bb76384c1e7684951c8ba91e43c8 | tree | snapshot |
parent | 828ea97de486c1693d6e4f2c7347acb50235a85d | commit | diff |
Makefile: introduce CHARSET_LIB to link with -lcharset
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>
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>
Makefile | diff | blob | history | |
config.mak.in | diff | blob | history | |
configure.ac | diff | blob | history |