makefile: link -liconv on Darwin (Thanks Marcus)
This commit is contained in:
parent
7512f633a7
commit
fc583adb99
|
@ -83,6 +83,10 @@ ifeq ($(UNAME),FreeBSD)
|
||||||
LIBS += -liconv
|
LIBS += -liconv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(UNAME),Darwin)
|
||||||
|
LIBS += -liconv
|
||||||
|
endif
|
||||||
|
|
||||||
# Fallback for libyajl 1 which did not include yajl_version.h. We need
|
# 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.
|
# YAJL_MAJOR from that file to decide which code path should be used.
|
||||||
CFLAGS += -idirafter yajl-fallback
|
CFLAGS += -idirafter yajl-fallback
|
||||||
|
|
Loading…
Reference in New Issue