[Mono-dev] eglib libiconv check

Andreas Färber andreas.faerber at web.de
Sun Apr 25 10:42:38 EDT 2010


Hello Geoff,

In r156018 you changed the -liconv check. In GNU libiconv, the symbol  
is in fact libiconv_open (to distinguish from glibc's version), so  
linking is now broken.

The following patch re-adds the old check and helps on Haiku, could  
you please check on your side?

diff --git a/eglib/configure.ac b/eglib/configure.ac
index d7c5d14..3014d26 100644
--- a/eglib/configure.ac
+++ b/eglib/configure.ac
@@ -70,6 +70,7 @@ AC_CHECK_SIZEOF(int)
  AC_CHECK_SIZEOF(void *)
  AC_CHECK_FUNCS(strndup strlcpy getpwent_r strtok_r rewinddir)
  AC_CHECK_LIB(iconv, iconv_open, LIBS="$LIBS -liconv")
+AC_CHECK_LIB(iconv, libiconv_open, LIBS="$LIBS -liconv")
  AC_SEARCH_LIBS(sqrtf, m)
  AC_SEARCH_LIBS(dlopen, dl)
  old_ldflags="${LDFLAGS}"

Thanks,

Andreas



More information about the Mono-devel-list mailing list