makefile: link -liconv on Darwin (Thanks Marcus)

This commit is contained in:
Michael Stapelberg 2011-07-17 15:17:24 +02:00
parent 7512f633a7
commit fc583adb99

View File

@ -83,6 +83,10 @@ ifeq ($(UNAME),FreeBSD)
LIBS += -liconv
endif
ifeq ($(UNAME),Darwin)
LIBS += -liconv
endif
# Fallback for libyajl 1 which did not include yajl_version.h. We need
# YAJL_MAJOR from that file to decide which code path should be used.
CFLAGS += -idirafter yajl-fallback