]> git.sur5r.net Git - i3/i3/commitdiff
FreeBSD requires -liconv to link (Thanks Dennis Herrmann)
authorMichael Stapelberg <michael+git@stapelberg.de>
Sun, 19 Apr 2009 12:04:33 +0000 (14:04 +0200)
committerMichael Stapelberg <michael+git@stapelberg.de>
Sun, 19 Apr 2009 12:04:33 +0000 (14:04 +0200)
Makefile

index d73ea899b21068050b4caf8aacda680de7fd49e4..6a21a7cd086b9a53d4a7f9bac710a663a8f5304b 100644 (file)
--- 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