]> git.sur5r.net Git - i3/i3/commitdiff
makefile: link -liconv on Darwin (Thanks Marcus)
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 17 Jul 2011 13:17:24 +0000 (15:17 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 17 Jul 2011 13:18:30 +0000 (15:18 +0200)
common.mk

index 76813264275bea07768181949b320d647bf401bd..59f386ce87d3246007cece66bcd19a684c48af6f 100644 (file)
--- 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