From 610bb714aeeae56a2e392102d0fbd3f5ad444df2 Mon Sep 17 00:00:00 2001 From: Oleksandr Tymoshenko Date: Thu, 6 Sep 2018 21:56:17 -0700 Subject: [PATCH] Fix iconv detection for FreeBSD Signed-off-by: Oleksandr Tymoshenko --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 531ba85..d4ce1aa 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,10 @@ AC_PROG_LN_S AC_CANONICAL_HOST case "$host_os" in + freebsd*) + CPPFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib -liconv" + ;; openbsd*) CPPFLAGS="$CFLAGS -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib"