FreeBSD requires -liconv to link (Thanks Dennis Herrmann)
This commit is contained in:
parent
6ccee82368
commit
22e0ea5141
4
Makefile
4
Makefile
|
@ -26,6 +26,10 @@ CFLAGS += -idirafter /usr/pkg/include
|
||||||
LDFLAGS += -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/pkg/lib
|
LDFLAGS += -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/pkg/lib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(UNAME),FreeBSD)
|
||||||
|
LDFLAGS += -liconv
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(UNAME),Linux)
|
ifeq ($(UNAME),Linux)
|
||||||
CFLAGS += -D_GNU_SOURCE
|
CFLAGS += -D_GNU_SOURCE
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue