diff options
author | Mathias Gumz <akira@fluxbox.org> | 2015-01-05 15:10:05 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-01-05 15:10:05 (GMT) |
commit | d9f3a73b385ad4f70528913090000c3db87fc328 (patch) | |
tree | 7ada4f364982dfbcedf17d47d0faa34dc751c320 | |
parent | f8d0bd4cb303caad68c121a77974a3a0daa0c40e (diff) | |
download | fluxbox-d9f3a73b385ad4f70528913090000c3db87fc328.zip fluxbox-d9f3a73b385ad4f70528913090000c3db87fc328.tar.bz2 |
Fix build-system: link against libiconv
Some systems (BSD, MacOSX) need explicit linkage against -liconv.
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d6d5612..f94bb3c 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -189,6 +189,7 @@ AM_ICONV | |||
189 | AS_IF([test x$am_cv_proto_iconv_arg1 = "xconst"], [ | 189 | AS_IF([test x$am_cv_proto_iconv_arg1 = "xconst"], [ |
190 | AC_DEFINE([HAVE_CONST_ICONV], [1], [Is second argument of iconv() is of type 'const char **' or 'char **']) | 190 | AC_DEFINE([HAVE_CONST_ICONV], [1], [Is second argument of iconv() is of type 'const char **' or 'char **']) |
191 | ]) | 191 | ]) |
192 | LIBS="$LIBICONV $LIBS" | ||
192 | 193 | ||
193 | dnl Check for networking libraries | 194 | dnl Check for networking libraries |
194 | AC_CHECK_LIB([nsl], [t_open], [LIBS="-lnsl $LIBS"]) | 195 | AC_CHECK_LIB([nsl], [t_open], [LIBS="-lnsl $LIBS"]) |