From: Jason A. Donenfeld Date: Wed, 17 Oct 2012 19:55:48 +0000 (+0200) Subject: Makefile: Support OpenBSD just like FreeBSD X-Git-Tag: v0.9.1~9 X-Git-Url: https://git.cameronkatri.com/cgit.git/commitdiff_plain/a58d8a168d29d62425391663dedd6dd49ddc523b?ds=sidebyside Makefile: Support OpenBSD just like FreeBSD --- diff --git a/Makefile b/Makefile index b95cee4..f4c5b8a 100644 --- a/Makefile +++ b/Makefile @@ -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