diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-17 18:30:08 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-17 18:40:48 +0200 |
commit | 2853692a9ee7d0b451096f06e8f752d6551f5245 (patch) | |
tree | 78d0b170d8b0606c1ceec2d4a4ad0263107bf72d /Makefile | |
parent | tests: check for proper html entity (diff) | |
download | cgit-pink-2853692a9ee7d0b451096f06e8f752d6551f5245.tar.gz cgit-pink-2853692a9ee7d0b451096f06e8f752d6551f5245.zip |
Makefile: support FreeBSD libiconv paths
According to Dan Rue <drue@therub.org>, FreeBSD requires the lib paths to get libiconv from /usr/local.
Diffstat (limited to '')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile index 1e34129..b95cee4 100644 --- a/Makefile +++ b/Makefile @@ -49,6 +49,13 @@ ifeq ($(uname_O),Cygwin) 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. # |