History

Makefile: Support OpenBSD just like FreeBSD

Jason A. Donenfeld committed 14 years ago

Commit a58d8a11 parent 28536921 file · +2 −2Browse files

Unified · Split

Makefile+2−2
@@ -49,8 +49,8 @@ ifeq ($(uname_O),Cygwin) · 48 unmodified lines
4949 NEEDS_LIBICONV = YesPlease
5050 endif
5151
52−ifeq ($(uname_S),FreeBSD)
53− # Apparantly libiconv is installed in /usr/local on FreeBSD
52+ifeq ($(uname_S),$(filter $(uname_S),FreeBSD OpenBSD))
53+ # Apparantly libiconv is installed in /usr/local on BSD
5454 LDFLAGS ?= -L/usr/local/lib
5555 CFLAGS ?= -I/usr/local/include
5656 NEEDS_LIBICONV = yes