Makefile: Support OpenBSD just like FreeBSD
This commit is contained in:
부모
2853692a9e
커밋
a58d8a168d
4
Makefile
4
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
|
||||
|
불러오는 중...
Reference in New Issue
Block a user