FreeBSD requires -liconv to link (Thanks Dennis Herrmann)

This commit is contained in:
Michael Stapelberg 2009-04-19 14:04:33 +02:00
parent 6ccee82368
commit 22e0ea5141
1 changed files with 4 additions and 0 deletions

View File

@ -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