aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-05 15:10:05 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-05 15:10:05 (GMT)
commitd9f3a73b385ad4f70528913090000c3db87fc328 (patch)
tree7ada4f364982dfbcedf17d47d0faa34dc751c320
parentf8d0bd4cb303caad68c121a77974a3a0daa0c40e (diff)
downloadfluxbox-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.ac1
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
189AS_IF([test x$am_cv_proto_iconv_arg1 = "xconst"], [ 189AS_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])
192LIBS="$LIBICONV $LIBS"
192 193
193dnl Check for networking libraries 194dnl Check for networking libraries
194AC_CHECK_LIB([nsl], [t_open], [LIBS="-lnsl $LIBS"]) 195AC_CHECK_LIB([nsl], [t_open], [LIBS="-lnsl $LIBS"])