aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jason A. Donenfeld <Jason@zx2c4.com>2012-10-18 01:30:08 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2012-10-18 01:40:48 (JST)
commit2853692a9ee7d0b451096f06e8f752d6551f5245 (patch)
tree78d0b170d8b0606c1ceec2d4a4ad0263107bf72d /Makefile
parent1cb8b494a5b83fdb87a2d9cd6282a05143661db1 (diff)
downloadcgit-2853692a9ee7d0b451096f06e8f752d6551f5245.zip
cgit-2853692a9ee7d0b451096f06e8f752d6551f5245.tar.gz
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 'Makefile')
-rw-r--r--Makefile7
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)
49 NEEDS_LIBICONV = YesPlease 49 NEEDS_LIBICONV = YesPlease
50endif 50endif
51 51
52ifeq ($(uname_S),FreeBSD)
53 # Apparantly libiconv is installed in /usr/local on FreeBSD
54 LDFLAGS ?= -L/usr/local/lib
55 CFLAGS ?= -I/usr/local/include
56 NEEDS_LIBICONV = yes
57endif
58
52# 59#
53# Let the user override the above settings. 60# Let the user override the above settings.
54# 61#