all repos — cgit @ 2853692a9ee7d0b451096f06e8f752d6551f5245

a hyperfast web frontend for git written in c

Makefile: support FreeBSD libiconv paths

According to Dan Rue <drue@therub.org>, FreeBSD requires the lib paths
to get libiconv from /usr/local.
Jason A. Donenfeld Jason@zx2c4.com
Wed, 17 Oct 2012 18:30:08 +0200
commit

2853692a9ee7d0b451096f06e8f752d6551f5245

parent

1cb8b494a5b83fdb87a2d9cd6282a05143661db1

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M MakefileMakefile

@@ -49,6 +49,13 @@ NO_STRCASESTR = YesPlease

NEEDS_LIBICONV = YesPlease endif +ifeq ($(uname_S),FreeBSD) + # Apparantly libiconv is installed in /usr/local on FreeBSD + LDFLAGS ?= -L/usr/local/lib + CFLAGS ?= -I/usr/local/include + NEEDS_LIBICONV = yes +endif + # # Let the user override the above settings. #