Fix iconv detection for FreeBSD

Signed-off-by: Oleksandr Tymoshenko <gonzo@bluezbox.com>
This commit is contained in:
Oleksandr Tymoshenko 2018-09-06 21:56:17 -07:00
parent 953670e6ce
commit 610bb714ae

View File

@ -18,6 +18,10 @@ AC_PROG_LN_S
AC_CANONICAL_HOST AC_CANONICAL_HOST
case "$host_os" in case "$host_os" in
freebsd*)
CPPFLAGS="$CFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib -liconv"
;;
openbsd*) openbsd*)
CPPFLAGS="$CFLAGS -I/usr/local/include" CPPFLAGS="$CFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib" LDFLAGS="$LDFLAGS -L/usr/local/lib"