diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-17 19:55:48 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-17 19:55:48 +0000 |
commit | a58d8a168d29d62425391663dedd6dd49ddc523b (patch) | |
tree | a9dffba1b3dbf9a6d7e445ecd491a41de7191661 | |
parent | 2853692a9ee7d0b451096f06e8f752d6551f5245 (diff) | |
download | cgit-a58d8a168d29d62425391663dedd6dd49ddc523b.tar cgit-a58d8a168d29d62425391663dedd6dd49ddc523b.tar.gz cgit-a58d8a168d29d62425391663dedd6dd49ddc523b.zip |
Makefile: Support OpenBSD just like FreeBSD
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,8 +49,8 @@ ifeq ($(uname_O),Cygwin) NEEDS_LIBICONV = YesPlease endif -ifeq ($(uname_S),FreeBSD) - # Apparantly libiconv is installed in /usr/local on FreeBSD +ifeq ($(uname_S),$(filter $(uname_S),FreeBSD OpenBSD)) + # Apparantly libiconv is installed in /usr/local on BSD LDFLAGS ?= -L/usr/local/lib CFLAGS ?= -I/usr/local/include NEEDS_LIBICONV = yes |