From: Michael Stapelberg Date: Sun, 17 Jul 2011 13:17:24 +0000 (+0200) Subject: makefile: link -liconv on Darwin (Thanks Marcus) X-Git-Tag: 4.0~14^2~106 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fc583adb9956ff95e9019bef8bb0e7c2e21d133b;p=i3%2Fi3 makefile: link -liconv on Darwin (Thanks Marcus) --- 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