From: Michael Stapelberg Date: Sun, 19 Apr 2009 12:04:33 +0000 (+0200) Subject: FreeBSD requires -liconv to link (Thanks Dennis Herrmann) X-Git-Tag: 3.a-bf1~34 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=22e0ea51419b801a9eef5ffa3ae2a6224464a952;p=i3%2Fi3 FreeBSD requires -liconv to link (Thanks Dennis Herrmann) --- diff --git a/Makefile b/Makefile index d73ea899..6a21a7cd 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,10 @@ CFLAGS += -idirafter /usr/pkg/include LDFLAGS += -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/pkg/lib endif +ifeq ($(UNAME),FreeBSD) +LDFLAGS += -liconv +endif + ifeq ($(UNAME),Linux) CFLAGS += -D_GNU_SOURCE endif