Fix build-system: link against libiconv
Some systems (BSD, MacOSX) need explicit linkage against -liconv.
This commit is contained in:
parent
f8d0bd4cb3
commit
d9f3a73b38
1 changed files with 1 additions and 0 deletions
|
@ -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"])
|
||||
|
|
Loading…
Reference in a new issue