X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Makefile;h=e4f8e0ef08b9f3f4eb5035f20421ee035127fdf2;hb=6eab5f2f14806cf6a7b665d96766a59c13a41f4b;hp=3815f66c41525df04005f3ad00e6175fc235cc64;hpb=093b194cc5570c825173a90538a4c212bc64bc7f;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