diff options
author | Дилян Палаузов <dilyan.palauzov@aegee.org> | 2012-02-12 17:23:36 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-13 00:11:01 -0800 |
commit | b5225286b226759262c0637058528af03226fba6 (patch) | |
tree | 527324aee510bb76384c1e7684951c8ba91e43c8 /config.mak.in | |
parent | 828ea97de486c1693d6e4f2c7347acb50235a85d (diff) | |
download | git-b5225286b226759262c0637058528af03226fba6.tar.gz |
Makefile: introduce CHARSET_LIB to link with -lcharsetdp/i18n-libcharset
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>
Diffstat (limited to 'config.mak.in')
-rw-r--r-- | config.mak.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.in b/config.mak.in index 10698c8292..b2ba7104eb 100644 --- a/config.mak.in +++ b/config.mak.in @@ -74,3 +74,4 @@ SNPRINTF_RETURNS_BOGUS=@SNPRINTF_RETURNS_BOGUS@ NO_PTHREADS=@NO_PTHREADS@ PTHREAD_CFLAGS=@PTHREAD_CFLAGS@ PTHREAD_LIBS=@PTHREAD_LIBS@ +CHARSET_LIB=@CHARSET_LIB@ |