Makefile: Support OpenBSD just like FreeBSD

This commit is contained in:
Jason A. Donenfeld 2012-10-17 21:55:48 +02:00
parent 2853692a9e
commit a58d8a168d

View File

@ -49,8 +49,8 @@ ifeq ($(uname_O),Cygwin)
NEEDS_LIBICONV = YesPlease NEEDS_LIBICONV = YesPlease
endif endif
ifeq ($(uname_S),FreeBSD) ifeq ($(uname_S),$(filter $(uname_S),FreeBSD OpenBSD))
# Apparantly libiconv is installed in /usr/local on FreeBSD # Apparantly libiconv is installed in /usr/local on BSD
LDFLAGS ?= -L/usr/local/lib LDFLAGS ?= -L/usr/local/lib
CFLAGS ?= -I/usr/local/include CFLAGS ?= -I/usr/local/include
NEEDS_LIBICONV = yes NEEDS_LIBICONV = yes