From d9f3a73b385ad4f70528913090000c3db87fc328 Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Mon, 5 Jan 2015 16:10:05 +0100 Subject: Fix build-system: link against libiconv Some systems (BSD, MacOSX) need explicit linkage against -liconv. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index d6d5612..f94bb3c 100644 --- a/configure.ac +++ b/configure.ac @@ -189,6 +189,7 @@ AM_ICONV AS_IF([test x$am_cv_proto_iconv_arg1 = "xconst"], [ AC_DEFINE([HAVE_CONST_ICONV], [1], [Is second argument of iconv() is of type 'const char **' or 'char **']) ]) +LIBS="$LIBICONV $LIBS" dnl Check for networking libraries AC_CHECK_LIB([nsl], [t_open], [LIBS="-lnsl $LIBS"]) -- cgit v0.11.2