1
0

Makefile: support FreeBSD libiconv paths

According to Dan Rue <drue@therub.org>, FreeBSD requires the lib paths
to get libiconv from /usr/local.
Dieser Commit ist enthalten in:
Jason A. Donenfeld 2012-10-17 18:30:08 +02:00
Ursprung 1cb8b494a5
Commit 2853692a9e

Datei anzeigen

@ -49,6 +49,13 @@ ifeq ($(uname_O),Cygwin)
NEEDS_LIBICONV = YesPlease
endif
ifeq ($(uname_S),FreeBSD)
# Apparantly libiconv is installed in /usr/local on FreeBSD
LDFLAGS ?= -L/usr/local/lib
CFLAGS ?= -I/usr/local/include
NEEDS_LIBICONV = yes
endif
#
# Let the user override the above settings.
#