提交 b3bf974c 编写于 作者: A Alecs King 提交者: Junio C Hamano

Add freebsd support in Makefile

Needs iconv and third party lib/headers are inside /usr/local
Signed-off-by: NAlecs King <alecsk@gmail.com>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 374dfaa2
......@@ -251,6 +251,11 @@ ifeq ($(uname_O),Cygwin)
NO_IPV6 = YesPlease
X = .exe
endif
ifeq ($(uname_S),FreeBSD)
NEEDS_LIBICONV = YesPlease
ALL_CFLAGS += -I/usr/local/include
ALL_LDFLAGS += -L/usr/local/lib
endif
ifeq ($(uname_S),OpenBSD)
NO_STRCASESTR = YesPlease
NEEDS_LIBICONV = YesPlease
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册