From fc583adb9956ff95e9019bef8bb0e7c2e21d133b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 17 Jul 2011 15:17:24 +0200 Subject: [PATCH] makefile: link -liconv on Darwin (Thanks Marcus) --- common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common.mk b/common.mk index 76813264..59f386ce 100644 --- a/common.mk +++ b/common.mk @@ -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