X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Makefile;h=e4f8e0ef08b9f3f4eb5035f20421ee035127fdf2;hb=cb2ed324fc917db0b79d7b1f3756575ffa5f70d5;hp=3815f66c41525df04005f3ad00e6175fc235cc64;hpb=6f61eb201799ee83c3a82f1f097c18b3854c0c03;p=git.git diff --git a/Makefile b/Makefile index 3815f66c4..e4f8e0ef0 100644 --- a/Makefile +++ b/Makefile @@ -53,6 +53,10 @@ all:: # FreeBSD can use either, but MinGW and some others need to use # libcharset.h's locale_charset() instead. # +# Define CHARSET_LIB to you need to link with library other than -liconv to +# use locale_charset() function. On some platforms this needs to set to +# -lcharset +# # Define LIBC_CONTAINS_LIBINTL if your gettext implementation doesn't # need -lintl when linking. # @@ -611,6 +615,7 @@ LIB_H += streaming.h LIB_H += string-list.h LIB_H += submodule.h LIB_H += tag.h +LIB_H += thread-utils.h LIB_H += transport.h LIB_H += tree.h LIB_H += tree-walk.h @@ -1695,6 +1700,7 @@ endif ifdef HAVE_LIBCHARSET_H BASIC_CFLAGS += -DHAVE_LIBCHARSET_H + EXTLIBS += $(CHARSET_LIB) endif ifdef HAVE_DEV_TTY